|By Rich Tretola | November 18, 2010|
So, here is what you have been waiting to see. Flex Based AIR applications running on the RIM Blackberry PlayBook emulator via VM Ware. How do I know they are Flex based apps? Easy, I wrote them myself for Android and just recompiled to a .bar file using the instructions that Renaun posted on his blog.
Disclaimer: Most of the functionality doesn’t yet work on the initial release of the emulator, but the application navigation and a few of the API’s do work.
Here is a screen shot of my AIRonAndroidBrowser app running on the PlayBook emulator:
And the Tour de Mobile Flex from James Ward’s site.
How do you do this? Simple, just follow the steps below. (This will be much easier when a Flex Builder 4.5 Burrito plug in is available from RIM)
Here were the steps I took for the Tour de Mobile Flex on Mac with the BlackBerry SDK installed to the default location:
- Download the TourDeMobileFlex.apk to the root of your hard drive
- Change the file to TourDeMobileFlex.zip
- Unzip it and you should now have a folder located here /TourDeMobileFlex
- Open Terminal
- within Terminal run:
- open your BlackBerry emulator virtual machine
- Click on the Gear in the upper right corner
- Click on Security and set Development Mode to Enabled (see screen shot)
- Now click on the Hammer at the top and get your IP Address
- Back in Terminal run (make sure you substitute your emulators IP Address at the end of the statement below):
1/Applications/Adobe\ Flash\ Builder\ 4/sdks/blackberry-tablet-sdk-0.9.0/bin/blackberry-airpackager -package TourDeMobileFlex.bar -installApp -launchApp META-INF/AIR/application.xml TourDeMobileFlex.swf icons/ -device 127.0.0.0
Thats It! The application should now launch on the Blackberry Emulator.
Please comment with screen shots or your apps.