Workflow for creating AIR applications for mobile devices

The workflow for creating an AIR application for mobile (or other) devices is, in general, very similar to that for creating a desktop application. The primary workflow differences occur when it is time to package, debug, and install an application. For example, AIR for Android apps use the native Android apk package format rather than the AIR package format. Hence, they also use the standard Android install and update mechanisms.

AIR for Android

The following steps are typical when developing an AIR application for Android:

  • Write the ActionScript or MXML code.

  • Create an AIR application descriptor file (using the 2.5 namespace).

  • Compile the application.

  • Package the application as an Android package (.apk).

  • Install the AIR runtime on the device or Android emulator (if not already installed).

  • Install the application on device (or Android emulator).

  • Launch the application on the device.

You can use Adobe Flash Builder, Adobe Flash Professional CS5, or the command-line tools to accomplish these steps.

Once your AIR app is finished and packaged as an APK file, you can submit it to the Android Market or distribute it through other means.

AIR for iOS

For information about iOS development, see Building Adobe AIR Applications with the Packager for iPhone.