Your first AIR application for Android with Apache Flex
Creating cross-platform applications with Apache Flex is child's play once you have things set up in place correctly. In this video tutorial you will only use free and open-source tools to create an applications that runs on top of the AIR runtime. The final product can easily be installed and executed on desktop (Windows, Linux, Mac) and mobile (Android, iOS). For now, we will see Windows and Android.
What we do here is:
- Install the Java Runtime Environment, Android SDK tools, Apache Flex SDK and the FlashDevelop IDE**
- Create an Air Mobile Flex App project and configure its requirements
- Add a centered label in the main view, with a text (guess which)
- Connect the phone and install the AIR runtime
- Build the application and run it first on desktop then on mobile
You will need to connect your Android through an USB cable for this. If you do this for the first time, you might have to wait for the drivers to be installed. Make sure USB Debugging is enabled on the phone (from Developer settings).