In the Deploy tab, in the Extra packaging
option field, type -forceAirVersion 3.1.

Click Apply.

Click OK.

Clean your project

On the Project menu, click Clean.

On the Clean window, select the checkbox for your
project.

Click OK.

Update the project namespace

If you are creating a new project, you can
skip this section.

If you are importing a project from a previous version
of FDT, you must update the namespace of your project to the version of the AIR
runtime used by your FDT installation.

Open the <Project>-app.xml file.

In the <application>
element, set the XML namespace to the version of your AIR runtime.

For example, using AIR runtime 3.1: <application
xmlns="http://ns.adobe.com/air/application/3.1">

Save your file.

Create your source code

In the
FDT Explorer, expand the
src folder. Open the
AIRHelloWorld.as file in a text editor and
replace the default code with the following code sample, where
<your package name> is the package name
defined in the new FDT project:

Add an icon to your FDT project

Before you begin: Create an image in PNG format with a maximum
resolution of 86 x 86 pixels.

In FDT, in the
FDT Explorer pane, in your project tree,
right-click the
src folder.

Click
Import.

Expand
General, and select
File System.

Click
Next.

Beside the
From directory field, click
Browse.

Find the folder that
contains your image.

Click
OK.

Select the check box
beside your image.

Click
Finish.

After you finish:
You must update the
bar-descriptor.xml file to notify the
BlackBerry Tablet OS SDK for
Adobe
AIR that
the image is the icon for your application.

In the
FDT Explorer view, in the
bin folder for your project, double-click the
bar-descriptor.xml file.

In the text editor pane
for
bar-descriptor.xml, update the value of the
image element to use your icon. Between the
image elements, replace
your_image.png with the name of your image file.

<icon>
<image>your_image.png</image>
</icon>

On the
File menu, click
Save.

Update your bar-descriptor.xml configuration file

Before you can test, debug or sign your application on a BlackBerry PlayBook tablet,
you need to update your bar-descriptor.xml file with the
author and authorId values supplied by the
RIM 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.

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