O'Reilly logo

Developing BlackBerry Tablet Applications with Flex 4.5 by Rich Tretola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required