Chapter 7. Publish to BlackBerry Installer

Now that you have created your new application, it’s time to publish it to a BlackBerry installer file, which is an archive file with the extension .bar. Flash Builder provides all the tooling to accomplish this task.

To demonstrate how to compile an application to a BlackBerry installer, let’s walk through the process.

First, click on File→Export within Flash Builders main menu. See Figure 7-1.

Next, select Flash Builder→Release Build. See Figure 7-2.

Within the Export Release Build window, select the Project and Application you would like to compile. See Figure 7-3.

You must check the box that says, “Enable digital signing.” See Figure 7-4.

Note

If you followed the steps in Chapter 1, you should already have a certificate compiled, and you should be registered with the RIM Signing Authority. You can see this by clicking on the signing link. Figure 7-5 shows an example of signing information. If you don’t have a certificate and are not registered with the RIM Signing Authority, go back to Chapter 1 and complete this setup.

To compile the BlackBerry installer file (.bar), click Finish (see Figure 7-6).

Congratulations, you have just compiled your first BlackBerry application. To publish your new application to BlackBerry App World, visit https://appworld.blackberry.com/isvportal, create a new user, and follow the directions to upload your application for approval.

Figure 7-1. File→Export
Figure 7-2. Flash Builder→Release Build
Figure 7-3. Export Release ...

Get Developing BlackBerry Tablet Applications with Flex 4.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.