Developing With Flash CS5 for Adobe AIR on Android
Posted on February 22nd, 2011 by James Litten
Now that Adobe AIR is available for Android 2.2, it is easy to move your Flash games to Android’s app store and also to add functionality that takes advantage of things like the camera and GPS.
AIR stands for Adobe Integrated Runtime and was originally for
...building rich Internet applications using Adobe Flash, Adobe Flex, Adobe Dreamweaver (HTML or Ajax), AIR SDK, that can be run as desktop applications.
But now seems to be headed toward becoming an easy way to quickly develop powerful applications for smartphones, TV’s, car dashboards, tablets, big computers, tiny computers and everything in between.
http://www.adobe.com/products/air/
Setting up your development environment
1. Get Flash CS5 (you can get a 30 day free trial at http://www.adobe.com/downloads)
2. Install Flash extension for AIR http://labs.adobe.com/technologies/flashpro_extensionforair/
3. Install AIR SDK http://www.adobe.com/products/air/
4. Install Android SDK http://developer.android.com/sdk/index.html
Step by step video instructions
Setting up your development environment with Flash CS5 and AIR for Android
http://www.gotoandlearn.com/play.php?id=123
More instructions for setting up.
Getting started with Adobe AIR for Android
http://www.adobe.com/newsletters/edge/august2010/articles/article1/index.html
Some AIR for Android examples
Build a GPS Speedometer
http://mobile.tutsplus.com/tutorials/android/build-a-gps-speedometer-getting-into-air-for-android/
AIR for Android MazeFM Application
http://www.flashandmath.com/mobile/mazefm/index.html
Air for Android: Geolocation
http://www.unitedmindset.com/jonbcampos/2010/08/30/air-for-android-geolocation/
Simple camera application with Flash CS5 and AIR for Android
http://www.gotoandlearn.com/play.php?id=124
Publishing AIR for Android Applications to the App Store
http://www.gotoandlearn.com/play.php?id=131
The .apk file that is created for AIR for Android has the .swf file in the assets folder and an application.xml file in the assets/META-INF/AIR folder which works with the main AndroidManifest.xml file to set the programs application properties and how it should start (run the swf file).
Now it’s easy to move your Flash apps and games to the mobile market. Enjoy.