Created
October 17, 2014 12:01
-
-
Save asifmujteba/2ed47aa2bc064b34b62e to your computer and use it in GitHub Desktop.
Converting Android apk to Blackberry 10 bar file with the help of Blackberry Command-line Tools Using Terminal / Command Prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- Download and setup Android SDk | |
2- Download and configure BB Tools from https://developer.blackberry.com/android/documentation/cmd_line_tools.html#alk1340635279567 | |
3- Open terminal and move to blackberry.tools.SDK/bin directory | |
cd /path_to_dir/blackberry.tools.SDK/bin | |
4- Convert apk to bar | |
./apk2bar /path_to_apk/myApp.apk "/path_to_android_sdk/sdk" | |
5- Sign generated bar file with developer credentials setup while configration of tools | |
./batchbar-signer /path_to_bar/myApp.bar /path_to_saved_file/author.p12 PASSWORD_HERE | |
6- For testing you can deploy the bar file to device | |
./blackberry-deploy -installApp -launchApp -device DEVICE_IP_HERE -package /path_to_bar/myApp.bar -password DEVICE_PASSWORD_HERE | |
Dont forget to follow me on github :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment