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
-
@Idevicegazette (iDevice Gazette)
GSM-to-Skype bridge lets you lose those roaming fees http://bit.ly/lbRJeh #android
11 years 13 weeks ago -
@tommy_banane (tom b.)
RT @AndroidFavorite: #Android New Desktop Android Market Is Live, Adds Several New Features http://zorr0.nl/lFwXNz
11 years 13 weeks ago -
@dwilliams5 (Dennis Williams)
just completed a runtastic run of 3.02 km in 40 min 11 s with #runtastic #Android App: http://tinyurl.com/5tvrpe3
11 years 13 weeks ago -
@S_Pinz (Spinz!)
RT @Androidheadline: Out of box #LG Optimus 3D got Quadrant 2420 score. Thanks @blink_c #io2011 #android http://twitpic.com/4whkdz
11 years 13 weeks ago -
@tayaitapps (Taya IT)
Next Google TV Looks A Lot Like Android http://t.co/dvlTim3 via @alleyinsider #google #apple #android #tv #honeycomb
11 years 13 weeks ago
Poll
Useful resources
Android Development Projects
- iOS/Android Developer to take older Games and bring them Current
- Android apps developer - need to finish urgent.
- Buliding MobileApp For onlie order
- looking for android APP developers
- Create an ecommerce app
- text-to voice for smartphones IOS - GOOGLE - HARMONY - AND ALEXA
- Optimize Images on App
- Create small feature with drag-drop text for Android
- Scouting for advanced website and Mobile apps developers. Potential Long-term contract.
- BLACK SCREEN