My first test Flash based App for Android

I always had this interest on developing apps/contents for mobile or touchscreen devices but I just didn't get the opportunity. Now with the pre-release of AIR for Android and by watching so many nice flash games/animations on android devices, I just can't wait to try one. So I tried with few of my existing flash animations(done in cs3). And it looked/worked so nice on the emulator and the device (I used Motorola Droid).

Here are quick steps:

1. Install Flash CS5.5

2 Get the Android SDK

Download it from the official site for Android SDK

3. Get AIR runtime for Device (Froyo 2.2)

Connect the device to your pc and install the USB 3.0 driver. Locate the device using the SDK, it will list the device and then install the AIR Runtime.

4. Get AIR for Android extension for flash

Install this using the CS5 extension manager. Start flash and create new from template, select "AIR for android". Put your existing flash content on this new file, you can increase the stage size. It accepts only AS3 files.

* The extension comes with Flash CS5.5 so just skip step 4.

Go to file > Android Settings >

In the General tab > fill up the necessary info.
In Deployment tab > create certificate, put password, for deployment type select > debug

Under after publishing area, select both the check boxes.

For the path to adb, choose the tools directory of your SDK folder.

Click "Publish"

Your app will automatically load on the device.

*Make sure your device has "USB debugging enabled"
*Make sure the usb driver was properly installed on your pc.


(I will write these things in details later)

No comments: