Adobe evangelist Christophe Coenraets recently made available an extremely helpful tutorial called Flex for Android in 90 minutes (.pdf). In around 90 minutes, you will learn how to build an Android application using Adobe AIR, Flex Mobile and the Flash Builder "Burrito" preview release.
The tutorial covers a number of important topics including how to create a basic mobile application, using mobile item renderers, navigating and passing information between views, creating an action bar, integrating with the device capabilities (dialer, SMS, email), using a RemoteObject, and using a local SQLite database. To get started, you will need to first download the Flash Builder Burrito release from Adobe Labs.
Below is a summary of the material covered directly from the document:
In this tutorial, you use Flash Builder "Burrito" and Flex "Hero" to build a simple, yet fully functional employee directory application for Android devices. "Burrito" is the code name for the next version of Flash Builder, and "Hero" is the code name for the next version of the Flex SDK. You don’t need an Android device to complete this tutorial: you can use the simple emulator available in Flash Builder Burrito to run and debug the application. The Employee Directory application allows you to: search for employees, view employee details, navigate up and down the org chart, and call, text, and email employees.
Of course, Christophe is known for pushing the limits. With the recent beta 2 release of the BlackBerry Tablet OS SDK for Adobe AIR, Christophe decided to see just how difficult it would be to port his Android application to the BlackBerry Playbook. How difficult was it?
"It turned out to be amazingly simple: I was able to run the application without changing a line of code, with a great and consistent deployment experience: You select the target platform, hit the run button, and the app is packaged, deployed, and started on the device you selected."
Below is a video demonstration by Christophe showing the application running on a Google Nexus One, Samsung Galaxy Tab and the BlackBerry Playbook Emulator.
Our team is fully focused on making it as easy as possible for developers to target applications that can run across different devices from desktop computers to smart phones to tablet devices and televisions. If you are building an application and would like to let us know about it, please leave us a comment!