Flash Builder 4.7 - Install the BlackBerry Tablet OS SDK for Adobe AIR

Before you begin:

Download and install the following:
  1. In the folder where you downloaded the BlackBerry Tablet OS SDK for Adobe AIR, open the BlackBerry-AIR-SDK-Installer-<version>-<Operating System>-<timestamp> file.
  2. On the Introduction screen, click Next.
  3. Read the license agreement. If you agree, click Next.
  4. On the Integration choice screen, do not select either checkbox. Click Next.

    Even though there is the option to integrate with Flash Builder, this is for Flash Builder 4.6. Do not select the Flash Builder checkbox.

  5. On the Choose Install Folder screen, provide the location of the parent folder where you want to install the BlackBerry Tablet OS SDK for Adobe AIR. A new folder called blackberry-tablet-sdk-<version> is created at this location. Click Next.
    Operating System Default location of the BlackBerry 10 SDK for Adobe AIR
    Windows \Program Files\Research In Motion\
    Mac /Developer/SDKs/Research In Motion/
  6. On the Choose Adobe AIR SDK Install Folder screen, specify the location of the Adobe Flex SDK installation, found in the Adobe Flash Builder 4.7 installation folder. Click Next.
    Operating System Default location of the SDK for Adobe Flash Builder
    Windows \Program Files\Adobe\Adobe Flash Builder 4.7\sdks\4.X.X
    Mac /Applications/Adobe Flash Builder 4.7/sdks/4.X.X
  7. On the Pre-Installation Summary screen, verify your installation settings. Click Install.
  8. Click Done.

Updating Flash Builder 4.7

  1. Open Adobe Flash Builder 4.7 with administrator privileges.
  2. On the Help menu, click Install New Software.
  3. On the Available Software screen, in the Work with drop-down list, select BlackBerry plugin for Flash Builder 4.7.

    FB47-UpdateSite

  4. Select the BlackBerry Support checkbox. Click Next.
  5. Click Next.
  6. On the Review Licenses screen, read the license agreement. If you agree, click Finish.
  7. If you see a security warning. Click OK.

Delete the adt.jar file

This section provides a workaround for a known issue with Flash Builder 4.7 and the BlackBerry Tablet OS SDK for Adobe AIR.(262922)

When trying to publish your application using Flash Builder 4.7, you may encounter the following error:

Packaging failed:1
Error 102: Invalid namespace http://ns.adobe.com/air/application/3.4
Error: AIR validation failed

To solve this issue, you must to delete the adt.jar file from the SDK installation folder. This will force the packaging tool to use the adt.jar file provided with Flash Builder 4.7, and will validate namespace 3.4 valid.

  1. Navigate to the BlackBerry Tablet OS SDK for Adobe AIR installation directory.
    Operating System Default location of the adt.jar file in the BlackBerry Tablet OS SDK for Adobe AIR
    Windows \Program Files\Research In Motion\blackberry-tablet-sdk-2.1.0\lib\
    Mac /Developer/SDKs/Research In Motion/blackberry-tablet-sdk-2.1.0/lib/
  2. Delete the adt.jar file.

    By default, JAR files are hidden in the Windows environment.

The deployment setup wizard

The BlackBerry Tablet OS SDK for Adobe AIR integrates a deployment setup wizard in Adobe Flash Builder that guides you through setting up your development environment to create applications and deploy them to a BlackBerry tablet. You can use the deployment setup wizard to do the following:

  • Connect to the BlackBerry Tablet Simulator to test and debug your application.
  • Connect to a BlackBerry tablet and install debug tokens to test and debug your application.
  • Configure your computer to sign your applications before you deploy them.

Using the deployment setup wizard

Before you Begin

  • If you want to set up your development environment, start the BlackBerry Tablet Simulator, or connect your BlackBerry tablet to your computer and set it to development mode.
  • If you want to sign and deploy your applications, you must complete the web form at BlackBerry Signing Keys Order Form.

  1. In Adobe Flash Builder, on the Window menu, click Preferences.
  2. On the Preferences screen, in the preferences list, expand Flash Builder > Target Platforms.
  3. Click BlackBerry Tablet OS.
  4. Click Run the BlackBerry Tablet OS Deployment Setup Wizard to configure your development environment.
  5. Complete the steps in the wizard to configure your development environment.