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
Android on Twitter
Android Development Projects
- Mobile development by GK00232182
- Hire an Android Developer by lucspl
- Mobile development by oloveeo
- 3D andriod game(Low Bught) by OpenDoor009
- Write an iPhone application by juan56
- INTEL XDK help with part of project by predma
- Mobile development by rmorenosura
- Mobile development by wawannss
- Update a Android application and a I phone application by danleecnc
- Mobile development -- 2 by flyboy3465