Sign your application using the command line

Package your application

Add the path to the bin subfolder where you installed the BlackBerry Tablet OS SDK to the PATH environment variable for your operating system.

  1. Open a command prompt.
  2. Navigate to the folder where your SWF application and XML configuration files are stored.
  3. Type the following command to package your application.
    blackberry-airpackager -package output_filename project_name-app.xml 
       project_name.swf any_other_project_files

For more information about command line options, run blackberry-airpackager from the command line with no options.

Sign your application

Before you begin:

  • Package your application into a .bar file.
  • Configure your computer to sign applications.
  • If you connect to the Internet through a proxy server, you must specify additional command line options to contact the RIM Signing Authority.

You can sign your application during the packaging process using the blackberry-airpackager tool. Alternatively, you can package and sign your application using separate commands. The following command demonstrates how you can sign your application after you package it into a .bar file. You must sign your application before you can publish it.

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

Sign your application by with the blackberry-signer tool. In the -storepass parameter, you must specify the keystore password that you created when you configured application signing in the -storepass parameter.

blackberry-signer -storepass <KeystorePassword> <>