Click here to Skip to main content
13,349,997 members (46,695 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


2 bookmarked
Posted 22 Jul 2011

Flex 4.5 with Flash Develop: Slow Android Emulator Workaround

, 22 Jul 2011
Rate this:
Please Sign up or sign in to vote.
Flex 4.5 with Flash Develop: Slow Android emulator workaround

The cool thing about developing on the Air platform is that the end result should be device independent. So if I am developing an application for an Android tablet I can probably get away with testing the app on any tablet OS that supports the Air runtime. At least in the development stages anyway. Of course, most of the time, you will be able to get away with using the ADL desktop player, but testing on a device simulator is necessary to test gestures work as you would expect for your application. So we know the Android Emulators are slow. To be honest, they are so slow I think they are the wrong tool for doing intermediate development testing. I now use the android emulators when I want to test the application actually works on specific devices before I submit to the marketplace. Of course, you should always test on the actual hardware if you can. So what can we use in the development stages?

Use the Playbook Simulator

Of course, if you are using Flex Builder, then this may seem a little more obvious. However, with Flash Develop, the device support is not so integrated.

RIM has a great Playbook simulator which works a treat. Simply download the Playbook SDK and simulator package, install it and use the following command line to package to the simulator substituting the arguments with your project specific values.

blackberry-airpackager -package bin\
-C bin -installApp -launchApp application.xml
bin\MyFlexProject.swf -device

You will need to start up the simulator virtual machine before you run this command and swap the IP address with the IP of the virtual device.

You can find more information on the command line deployment process on the RIM website.

You can download the sample Flash Builder project containing the DeployToPlaybook.bat file that I have created from here.


This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


About the Author

Steve Psaltis
Software Developer
United Kingdom United Kingdom
We cannot achieve perfection but we can strive for excellence. Excellence through creativity that pushes innovation, collaboration that facilitates productivity, knowledge that empowers people and persistence that eventually pays off !

Enjoy what you do and do what you enjoy !

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180111.1 | Last Updated 22 Jul 2011
Article Copyright 2011 by Steve Psaltis
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid