Contents ix
■ Chapter 3: An Introduction to the Android Application Development Platform ��������������� 61
How the Android Platform is Structured: Java, XML, and New Media on Top of Linux 62
Details Regarding Android’s Platform Structure 62
Compiled App: Runtime Executable Java Bytecode 63
Android Runtimes: Dalvik VM 64
Android Runtimes: The Android RunTime VM 65
Creating Your First Android Application 66
Using Eclipse ADT to Create a New Android App 67
Navigating Around an Android Project 75
Android Resources: Asset Project Folders 77
Android Drawable: Assets that Draw to a Screen 78
Android Layout: Assets that Lay Out a UI Design 80
Android Menu: Assets that Define Menu Options 80
Android Values: Assets Defining App Constants 81
Android Anim: Assets Defining Tween Animation 83
Android Animator: Asset for Property Animation 83
Android Raw: Pre-Optimized Video & Audio Files 83
Android XML: Arbitrary XML and Configurations 83
Creating a Custom App Launch Icon 84
Creating a Launch Icon for Each Screen Density 84
Creating Transparency: Edit the Image in GIMP 85
Creating Resolution Density App Launch Icons 91
Saving Your GIMP Composite: Native XCF Format 96
Repeat the Work Process for the Lower Density Assets 97
Summary 98
■Chapter 4: Introduction to XML: Defining an Android App, Its Design, and Constants ����� 101
Extensible Markup Language: XML Overview 102
XML Naming Schema: Tag & Parameter Repository 103
XML Syntax: Containers, Brackets, and Nesting 105
XML Referencing: Chain XML Constructs Together 107
XML Constants: Editing Constants Using XML 108