onrails.org home

Journey into Android Development - Part 3 : Flex Development (Adobe AIR for Android)

Ok, today I’m at the 360Flex conference following Brent Arnold’s AIR for Android presentation. We are playing with the Flex SDK 4.5 to build an Android app however we had to sign an NDA, so I cannot say some of the detail unless it’s already on the internet. This said I assume that tomorrow Adobe will announce the official release of Flash Builder 4.5. And a ton’s of information was already published:

Here is TourDeFlex that shows all the capabilities of the Adobe AIR runtime. Download TourDeFlex. The source code can be found at https://github.com/jamesward/TourDeMobileFlex

In the training we created a small application that checks the capabilities of your device: Download DeviceCapabiliites
The application uses the Capabilities api that checks various parameters of your device., such as multi-touch, camera, location. Here is the source code:

Within Flash Builder in the properties of your project you can go to the Flex Build Packaging | Google Android and create a self-signed certificate.
Then you can use the Project | Export Release Build… option to create an .apk file for your project.

The application itself is not that exicting but allowed us to discover how to create AIR apps for Android using Flex and Flash Builder.



UPDATE (4/10/11): Et voilà Flex 4.5 is announced, but the final version will only be downloadable early May. Here is a good article on mobile development.

Fork me on GitHub