The announcement by RIM (Research in Motion) of their latest tablet PlayBook and its accompanying application development platform is really exciting news! Yes – mobile is hot!

Just like RIM to set itself apart by choosing the QNX real-time operating system and Adobe AIR as its application development platform, it hopes to capture part of the market held by Apple’s iPad and a flurry of contenders based on Google’s Android mobile platform.

In this tutorial, we will give an introduction to BlackBerry Tablet OS programming, provinding a step-by-step walk-thru in getting the development environment set-up in no-time!

Installation Guide:

First off the Required Downloads:

  1. VMWare virtual machine player here
  2. Adobe AIR 2.5 here
  3. BlackBerry Tablet OS SDK here
  4. BlackBerry PlayBook Simulator here
Command-Line Version:

Adobe AIR SDK:

C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\AdobeAIRSDK

BlackBerry Table SDK:

C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.0

Create variables:

AIR_SDK=“C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\AdobeAIRSDK”;

BLACKBERRY_TABLET_SDK=“C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\blackberry-tablet-sdk-0.9.0

Append these variables to your PATH:

PATH=%AIR_SDK%\bin;%BLACKBERRY_SDK%\bin;

Important Short-cut Keys VMWare:

Ctrl-G enters the VMWare console

Ctrl-Alt exit’s the VMWare console and gets you back into Windows environment

HowTo run BlackBerry Table OS:

  1. Create a New Virtual Machine by clicking the VMWare icon.
  2. Browse and Select the downloaded ISO image file: BlackBerryPlayBookSimulator.iso
  3. Select the Guest Operating System : OTHER  and  Version : OTHER
  4. Give your virtual machine a Name: BlackBerry-Tablet-OS-PlayBook (change)
  5. Specify Disk Space: Default 8G
  6. 1024 M of Memory
  7. Enable 3D Graphics Accelaration
  8. Click FINISH.

QNX Operating System is loaded by the VMWare – takes a while to load!

Press Ctrl-G to enter the VMWare console

Enter [Y]es and press Enter

That’s it!

The Command-Line Version:
1. Creating a BAR file :
blackberry-airpackager.bat -package HelloWorldAIR.bar HelloWorldAIR-app.xml HelloWorldAIR.swf

2. Deploy:
blackberry-airpackager.bat  -installApp -launchApp HelloWorldAIR.bar  -device IP_ADDRESS

OR
All at once:
blackberry-airpackager.bat -package HelloWorldAIR.bar  bat  -installApp -launchApp HelloWorldAIR-app.xml HelloWorldAIR.swf  -device IP_ADDRESS

Viola!