Home > Uncategorized > APK to BAR file from the command line

APK to BAR file from the command line

There are some very handy websites that allow you just upload a APK file, and you get a BAR file in return. Which is great, but sometimes you need some finer control over it. – such as having the BAR file signed with your own certificate rather than a random one provided by the website. 

If you already have your BlackBerry certs set up then the process is easy:

apk2bar “C:\your.apk” “C:\android\sdk”

blackberry-signer -storepass xxxx  “C:\your.bar”

blackberry-deploy -installApp -device 192.168.0.12 -password pass -package “C:\your.bar”

 

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment