Everyone is talking about Adobe Air on Anroid devices, but the answer to the question “How can I test my application without buying an android device?” is not very clear. There are many air applications working on real devices but I could not find a specific tutorial working on emulator and decided to write a brief one :)
1. Download the latest Android SDK from this link.http://developer.android.com/sdk/index.html
2. Extract the folder on your hardrive .
3. Click Setup.exe
4. At this screen you should select to download the package “Usb driver package revision x”.
5. From left menu select Virtual Devices and click New button. In new popup select Target as “Android 2.2 – API Level8″ and fill other required fields as you wish. Then click Create AVD.
Hint : Selecting skin as default(HVGA) will speed up your emulator speed .
6. Select your virtual device then click start . Only one click left to launch your emulator;) Emulator is not as fast as real devices, so you have to wait a little…
7. Do not turn off your emulator.We will install Adobe Air on it :) Sign into Adobe Air Prelease program. Download AIR 2.5 Runtime – Emulator [For Eclair][05/20/10]. There is also an emulator version for Froyo 2.2, but this version is not working properly.
8.Copy your downloaded Runtime_Emulator_Eclair.apk file to tools folder under your AndroidSDK folder.
9.Open your command prompt (start–>search> cmd.exe) and write your commands until you reach “tools” folder under your Android files folder. Type the following : adb install “your apk file” then press enter! You will see screens like these:
10. Let’s control our virtual device.
- Click launcher icon on screen (16 small squarea :)) —>Settings —> Applications —> Manage Applications
- It is there!
11. Now it’s time to make an Air-Android application with Flash CS5. If you logout, sign into Adobe Air Prelease program again:) Download AIR for Android Extension for Flash CS5 and install it.
12. Create a new Air Android application from template :
13 . Go to File —> Air Android Settings.
14. General part is about application main settings like name,orientation,output name etc.Let’s pass to Deployment part.
15. If you want to learn what certification means, you can take a look at here. Since I don’t want to sell my “Hello Android” application I just create a dummy certificate. Click create button.
16.Select both checkboxes on publish settings to install our application without command prompt. Again we faced with our famous “tools” folder :) There is a file named adb.exe in this folder so let’s browse it!
17. Then predict what is the next step :P Don’t afraid click publish!
18. Take a look at your emulator what you see ??? Trust Adobe accept the terms of aggreement :)
19. Yes, its response is too slow but it is working :) Say “Hi!” to our first Hello Android application . Hope this tutorial helps to you!
13 Comments to “How to install Adobe Air applications on Android Emulator?”
- Using Button in ExpandableListView
- Showing flash objects in WebView
- Using Android library projects in custom builds
- June 2012
- December 2011
- October 2011
- September 2011
- July 2011
- June 2011
- August 2010
- June 2010
- May 2010
- March 2010