Android apps porting to BlackBerry PlayBook. It's easy.
At the begin of February 2012 I’ve tested the BlackBerry Runtime for Android apps Beta which have shown up in end of 2011 to port our Bugzi application from Android to BlackBerry platform. The guys at RIM promise it’s easy. Let’s see, is it really easy?
At first we can choose three method to port Android applications: Eclipse plug-in, Online tool, and Command-line tools. I use the Eclipse plug-in, because we are programming in eclipse so it’s a clean choice. The little changes in code to make apps compatible with BlackBerry (it has some unsupported features and APIs from android. see later) is more easier with it, and you can test, and debug the code directly with BlackBerry PlayBook simulator, or real hardware.
Before installing the plug-in you must look after the system requirements. (let’s see: https://bdsc.webapps.blackberr
You can follow a steps by step installation at “Installing the Plug-in” sub menu of “Plug-in repackaging tool” menu of webpage above. (There is preinstallation tasks if you’ve problems with software requirements) If you finish that fine, you can see the a BlackBerry menu in the window -> preferences in eclipse. After that you must get signing keys from RIM, without these you can’t install, and run your ported apps. So you must register your e-mail address to their system, then you get your keys, usually it takes one day, but my keys came in couple of hours. Visit and take the steps at “Signing keys and creating a developer certificate” sub menu at menu above. When you’ve the signing keys you can make a debug token that must install on your simulator or real PlayBook for next steps, go to the “Configure and upload debug token” sub menu.

Now you can start using the plug-in, at first if you haven’t got a real PlayBook hardware must set up a simulator which can make run your application. Go to “set up your testing environment” sub menu at “Getting started” menu on BlackBerry development page above (https://bdsc.webapps.blackberr
Then you are ready to port your application to BlackBerry, but you must check the “API support” menu in BlackBerry developer page (https://bdsc.webapps.blackberr

After correcting your app go to your package manager in eclipse right click on the project name you want to port. In the bottom of menu you can find a “BlackBerry tools” point it, in sub menu that is displayed click on “Add BlackBerry Nature to project” the project is prepared to run on BlackBerry PlayBook. To run the project go to “Run as -> Run -> BlackBerry Android launch” then if everything is o.k. your project is running on your device or simulator.
I use simulator to test Bugzi project. My opinion is the simulator isn’t the best because there are some bugs yet, for example where in android app has thread, in the display of simulator brakes down, after the thread is finished work the display is good again.

Some conclusion: The port of applications from android to BlackBerry is really easy. But the ported application can run only BlackBerry PlayBook, and the phones that will use BlackBerry OS 10, so it limits the usage. Some android applications can’t be ported because they are using unsupported features, and APIs.
For more information about the porting visit the BlackBerry Runtime for Android apps official web page http://developer.blackberry.co
New tutorials from Helloandroid
Recent Apps
Android on Twitter
-
@KellyG41791 (Kelly Greatrex)
I've just received an achievement: Saver http://t.co/zFzNteNg #Android #Androidgames #Gameinsight
7 min 57 sec ago -
@corey_latislaw (Corey Leigh Latislaw)RT @androidphilly: Want to get started with #Android development? Join us this Wednesday for a beginner class: http://t.co/bdUJZiju
8 min ago -
@androidphilly (Android Alliance)Want to get started with #Android development? Join us this Wednesday for a beginner class: http://t.co/bdUJZiju
8 min 5 sec ago -
@XxDiatabssxX (mark hughes)Hurray! I've completed a "Holiday decorations" task! 39 http://t.co/JrBGWxX0 #android #gameinsight #androidgames
8 min 6 sec ago -
8 min 6 sec ago
Poll
Useful resources
Android Development Projects
- Private project for Petterpp1 [WRD] by geomaster909
- Modifications on an Android Game by tymex
- app dev for techcity by dany2g
- Android App by dvlinh
- Iphone app by nabzyd
- Betfair Mobile App by Daaniel
- Need App Developer/Designer for iPhone, iPad by lplco
- Android Maps - Saving GeoLocations to MySql database. by adelshehri
- Prototype Android Apps display Information from database by getitonline
- Metal Weigh Calculator by mpmakwana



Comments
wow.. great, now i can
wow.. great, now i can playing android game on my playbook. Thx - Berita Terbaru