market/publishing

Android apps porting to BlackBerry PlayBook. It's easy.

SDK Version: 
M3

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.

Android licensing simple example

SDK Version: 
M3

Android Market Licensing is a network-based service that lets an application on an Android-powered device query a trusted licensing server, to determine whether the application is licensed to the current device user. After receiving the server response, the application can then allow or disallow further use of the application as needed. In the service, the role of the licensing server is to provide the license status for the current user; the application itself is responsible for querying the server and conditionally granting access to the application.

You can find the licensing library and a cool sample application in your android-sdk folder after you download it with Android SDK and AVD manager. This tool located under Windows menu in Eclipse.

Syndicate content