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