In this post, you will learn how to set up Flash Builder and your Google Android device (running Android 2.2 or later) to get ready for development.
1. The first step is to install Adobe AIR on your device if you have not already done so. Simply visit the Android Market on your device, search for Adobe AIR, and complete the free install. Here's a link: https://market.android.com/details?id=com.adobe.air&hl=en
2. Next, you need to enable USB debugging on your device. From the Home screen, tap Settings, and then select Applications > Development. Enable the USB debugging option. If there is an option to stay awake while charging, enable that too. NOTE: This cannot be set while your phone is tethered to your computer. Unplug the mini-usb cable before setting this.
3. If you're running Windows, you'll need to set up a USB device driver for your device. For more information on this, see Connect Google Android Devices. Depending on which version of Windows you're running and what Android device you have, the device driver set up can take some time.
This AdobeTV video by Platform Evangelist Bhakti Pingale walks through the setup steps for a Samsung Galaxy Tab: http://tv.adobe.com/watch/adc-presents/mobile-device-debugging-using-usb/.
4. Plug your phone into your computer and open Adobe Flash Builder 4.5 or later.
5. Choose New > Flex Mobile Project and give your application a name. Ensure that the defaults are selected as shown below.
8. Build your application. If you want to see how easy this is, open the file created under the Views package, switch to Design view, and add a button. Double-click the button to change the name to something unique (like "Hello Technoracle"). If you are looking for some easy tutorials for mobile application development, please download the course from http://www.22ndcenturyofficial.com/MAX2011/BL3453-ALL.zip
9. Once your application is complete, you may wish to release it to the Google Market. To do this, you first need to make a proper certificate. This process is described in this blog post on generating a P12 certificate for the Google Market using the Adobe AIR SDK.
10. When your application is complete, choose File > Export. In the dialog box that appears, select Flash Builder > Release Build and click Next.
11. Ensure that the correct project is selected in the next screen along with the proper path location at which you wish to place your APK file. APK files are the install packages for Google Android. Also ensure that the Signed Packages For Each Platform setting is checked and click Next.
12. A screen will appear asking you for the location of the certificate and password that you created in step 9 above. Fill these in and click on the deployment header and ensure that Install And Launch Application on Any Connect Devices is checked. Make sure your Android device is connected and click Finish.
That is it! Your application will compile into an *.APK file and install itself on your Google Android device. If your application was built with a simple button it will appear and run as shown below.








