Friday, February 24, 2012

Repackage Android APK to make it run on BlackBerry Playbook, on Runtime for Android apps.

Before repackaging, we have to prepare APK for Android application. It's base on the exercise of "Get system properties of os name and version".

BlackBerry provide a online tools to package for Android Apps. It's a simple web interface that allows you to verify, repackage, and sign your app without any additional software downloads.

To repackage Android APK to BlackBerry PlayBook, visit https://bdsc.webapps.blackberry.com/android/bpaa/ in your browser. This tool will package your Android 2.3.3 application to run on the BlackBerry PlayBook.

Enter email and check to agree the RIM SDK License Agreement, and click "Let's get started>>".


Make sure you have installed correct Java plug-in. Click "Set Applet Permissions...".


Specify the APK file, and Android SDK folder. And click "Start Test".


Tested OK, to continue repackaging your application for distribution on BlackBerry App World without additional testing, select "Repackage & Submit".


If this is your first time using the packager to repackage an Android application, you'll need to configure your computer to sign your application. You'll need your code signing key to do this. If you have not yet requested a code signing key, the packager can request one for you before configuring your computer. If you already have your code signing key, keep the file path handy. You'll need it to create your certificate.

Check "I don't have signing keys" and click "Next>>".


Request a Code Signing Key, fill-in the blank, check to agree the RIM SDK License Agreement, and click "Next>>".


Configure Your Computer to Sign Applications.

Your BlackBerry Tablet Code Signing Key order will be send to BlackBerry, and will be processed. It could take up to 2 hours to fully process. Your code signing keys will be sent you via email.

Once you have received your code signing keys from Research In Motion, you'll need to configure your computer to use these keys to sign your apps and create debug tokens. This step configures your computer and creates a developer certificate.

Fill in the blank, and click "Configure".


Click Next after finished.


You will be re-direct to the "Welcome, start submit page" again.


Make sure you have installed correct Java plug-in. Click "Set Applet Permissions...".


Specify the APK file, and Android SDK folder. And click "Start Test".


Tested OK, to continue repackaging your application for distribution on BlackBerry App World without additional testing, select "Repackage & Submit".


Click "Already Configured Computer for Signing>>"


Packaging and Signing, fill in the blank and click "Sign>>"


BAR file created and signed, press "Next" to proceed.


Finished! BAR file generated.
bar file generated

Try my repackaged BAR here: http://goo.gl/S8A73

No comments: