Put your ActionScript 3 skills to work building mobile apps. This book shows you how to develop native applications for Android-based smartphones and tablets from the ground up, using Adobe AIR. You learn the entire development process hands-on, from coding specific functions to options for getting your app published.
Start by building a sample app with step-by-step instructions, using either Flash Professional or Flash Builder. Then learn how to use ActionScript libraries for typical device features, such as the camera and the accelerometer. This book includes ready-to-run example code and a case study that demonstrates how to bring all of the elements together into a full-scale working app.
Create functionality and content that works on multiple Android devices
Choose from several data storage options
Create view and navigation components, including a back button
Get tips for designing user experience with touch and gestures
Build a location-aware app, or one that makes use of motion
Explore ways to use audio, video, and photos in your application
Learn best practices for asset management and development
Chapter 1 AIR
Installing the Adobe Development Tools
Installing the AIR Runtime on an Android Device
What Is in the AIR SDK
New ActionScript Libraries
AIR on the Desktop Versus AIR on Android
Mobile Flash Player 10.1 Versus AIR 2.6 on Android
Chapter 2 Call Me, Text Me
Setting Up Your Device
Creating a Project
Creating the Application Descriptor
Writing the Code
Packaging Your Application As an APK File and Installing It on the Device
Testing and Debugging
Mobile Utility Applications
Installing AIR on an Android Device via a Server
Chapter 3 Android
Android Software Development Kit
How Does AIR Run on Android?
Using the Command-Line Tool
Chapter 4 Permissions, Certificates, and Installation
The APK File
Registering As an Android Developer
Publishing an Application on the Android Market
Controlling Distribution by Using the MAC Address
Launching an AIR Application
Monetizing Your Application
Chapter 5 Evaluating Device Capabilities and Handling Multiple Devices
Creating Content for Multiple Screens
Chapter 6 Opening and Closing an Application and Saving Data
The AIR Application
Why and How to Save Data
Chapter 7 Multitouch Technology
A Brief History
What Is Multitouch and Gesture?
The Multitouch Class
The GestureEvent Class
The TouchEvent Class
The GestureWorks Library
Designing for Touch
Chapter 8 Accelerometer
What Is a Motion Sensor?
Chapter 9 Camera
The Gallery Application and the CameraRoll Class
The Camera Application and the CameraUI Class
Chapter 10 Geolocation
Locating a Device Using Global Positioning System and Network/WiFi Technology
Veronique Brossier is Senior Flash Engineer at MTVNetworks and adjunct professor at ITP/New York University. She has worked on applications for the world of art and entertainment, including The New York Visitor Center and the 9/11 Memorial site for Local Projects, NickLab for R/Greenberg Associates, Cartoon Network Online, the Hall of Biodiversity at the American Museum of National History, and many more.
The animal on the cover of Developing Android Applicationsfor Adobe AIR is the Royal Flycatcher (Onychorhynchuscoronatus). This bird’s most distinctive feature is a regal,fan-like crest, which gives the bird its scientific name (from the Latincorona, for garland or crown). This colorful crest isusually tucked down against the bird’s head, and only appears when it iscourting or agitated. The Royal Flycatcher’s habitat ranges from Mexicothrough Central and South America, and four localized subspecies arerecognized.Measuring 16-16.5 cm long, the Royal Flycatcher has mostly dull brownplumage, though there is slightvariation across subspecies in the coloring of the rump and tail, which canrange from bright cinnamon to a darker rust color. Its whitish throat iscontrasted with a yellow underbelly. When visible, the bird’s striking crest is colored scarlet(in the male) or bright yellow (in the female), highlighted with blue- andblack-colored tips and spots.As its name implies, the Royal Flycatcher appears to primarily eataerial insects, such as dragonflies. Its natural habitat is humid anddeciduous lowland forest, and so deforestation in Ecuadorand Brazil has resulted in a vulnerable status for some Royal Flycatchersubspecies. While these birds may forage in a wide range of habitats, anintact, moist forest is necessary for survival during the breeding season.There is similarity in voice across subspecies, with each producing a clearpree-o call similar to that made by the jacamar andmanakin, fellow tropical birds.
Comments about O'Reilly Media Developing Android Applications with Adobe AIR:
I'm very impressed with this book in the way it manages to cover the main topics developers will want to learn about when getting started with developing for mobile. Even though the title of the book indicates its targeted for Android application development, most if not all of the code discussed works perfectly fine for cross compilation to iOS devices with Adobe AIR.
Without a doubt this is the best AIR for mobile development book I've read up until now. Its an easy introduction into the topic but still provides more than enough useful tips and tricks to be a must read for more experienced ActionScript and AIR developers.
Bottom Line Yes, I would recommend this to a friend