Sign and publish your app
Although you won't be publishing the app you worked on in this guide, when you finish developing your own app, you'll need to sign and publish it. The BlackBerry World storefront is where users discover, download, and review your app. Before you can distribute your application in BlackBerry World, you must cryptographically sign it using your code signing key.
The signing application included with the BlackBerry 10 Native SDK adds cryptographic hash values to your application package (.bar file) during the signing process. The hash values help verify the authorship of your application to other users and the BlackBerry 10 OS.
When you set up your environment, one of the steps is to run the BlackBerry Deployment Setup Wizard. Among other things, this wizard configures the IDE to enable application signing. When you build an application, the .bar file that is created is automatically signed using the signing keys that you specified.
You must sign your app in the QNX Momentics IDE before you can publish it.
Before you begin:
- Make sure you increment the version number of your application. For more information about version numbers, see Assign version numbers to your app.
- Configure your computer to sign applications. For more information about configuring your computer to sign applications, see Configure application signing in the QNX Momentics IDE.
- If you connect to the Internet through a proxy server, you must specify additional command line options to contact the RIM Signing Authority. For more information about using a proxy server, see Configure app signing through a proxy server in the IDE.
- In the IDE, click File > Export.
- Expand BlackBerry, select Release Build, and then click Next.
- On the Release Build page, select the project you want to export, and specify an export location for your application. If you do not specify a location, the application is exported to the project directory. Click Next.
- On the Digital Signature tab on the Packaging Settings page, select Enable digital signature and click Finish.
Your BAR file (.bar file) contains your signed application. You can publish the BAR file to BlackBerry World for distribution.
For more information about signing, see Signing apps.
You can distribute your application for BlackBerry 10 by submitting it to BlackBerry World. For more information and to submit your app, visit BlackBerry World.