Sign and publish your app

Although you won't be publishing the app that you worked on in this guide, when you finish developing your own app, you need to sign and publish it. The BlackBerry World storefront is where users discover, download, and review your app. Check out the BlackBerry World website.

Before you can publish your application in BlackBerry World, you must cryptographically sign it using your BlackBerry ID token.

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.

You must sign your app in the Momentics IDE before you can publish it.

Configuring signing

For more information about configuring your computer to sign applications, see Configure application signing in the 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.

Signing your app

  1. In the IDE, click File > Export.
  2. Expand BlackBerry, select Release Build, and then click Next.
  3. 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.
  4. On the Digital Signature tab on the Packaging Settings page, select Enable digital signature and click Finish.

Your .bar file contains your signed application. You can publish the .bar file to BlackBerry World for distribution.

Troubleshooting signing

If something goes wrong, you can revisit the Signing page in the Momentics IDE:

  1. In Windows and Linux, click Window > Preferences. In Mac OS, click Momentics > Preferences.
  2. Expand BlackBerry, and then select Signing.
  3. Click BlackBerry Deployment Setup Wizard.
  4. Follow the steps in the wizard to configure your BlackBerry ID token.

For more information about signing, see Signing apps.

Publishing your app

After you sign your app, you can publish it by submitting it to BlackBerry World.

For more information about publishing your app, visit BlackBerry World.

Last modified: 2014-01-23

comments powered by Disqus