Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 2
Registered: ‎04-30-2013
My Device: Z10
My Carrier: Telus

Automated builds of apk to bar

Right now we have automated builds of our apk with every checkin. Just wondering what the best process is for the apk2bar and signing, etc. Not exactly sure of the relationship between the android version code, and the package version and application version found in the META-INF/MANIFEST.MF.


Should i only be making the bar file every build and make signing a manual process when we actually upload to Blackberry world?


If i do sign with every build how do i set the version? Just use the -incrementPackageVersion and -incrementApplicationVersion with blackberry-signer ?





BlackBerry Development Advisor
Posts: 102
Registered: ‎11-21-2008
My Device: Z10
My Carrier: Bell

Re: Automated builds of apk to bar

Great question Curtis,


You can manually adjust the version of your app by editing the MANIFEST.MF file and changing the Package-Version and Application-Version values. These values are mapped from the versionCode value within the AndroidManifest.xml file.


Only release builds for BlackBerry World should be signed with your author.p12 and RDK certificates (signed BARs), whereas you can test other builds via debug tokens (unsigned BARs).


The command-line based SDK available at developer.blackberry.com/android/tools will allow you to do all this within your scripted build process.

James Dreher
BlackBerry Development Advisor