Update your bar-descriptor.xml configuration file

Before you can test, debug or sign your application on a BlackBerry device, you need to update your bar-descriptor.xml file with the author and authorId values supplied by the BlackBerry Signing Authority. To set up a debug token, and configure your computer for signing, use the deployment setup wizard. For more information on the deployment setup wizard, see Configure your development environment using FDT.

You do not need to complete these steps if you are testing your application on a BlackBerry 10 Simulator. The BlackBerry 10 Simulator does not require a debug token.

  1. In FDT, on the Window menu, click Preferences
  2. In the Preferences window, expand FDT > Mobile > BlackBerry. Click Signing.

    Screenshot showing debug summary screen.

  3. In the Debug Tokens section, select your debug token, click Details.
  4. In the Debug Token Details window, copy your Author Id and Author values, click OK.

    Screenshot of debug token details showing author name and author id.

Once you have found your Author Id and Author values, update your bar-descriptor.xml.

  1. In the FDT Explorer view, in the bin folder for your project, double-click the bar-descriptor.xml file.
  2. In the text editor pane for bar-descriptor.xml, update the value of the author element .
    author>Author Name</author>
    
  3. In the text editor pane for bar-descriptor.xml, update the value of the authorId element.
      <authorId>Author Id</authorId>
    
  4. On the File menu, click Save.
comments powered by Disqus