Deploy to a BlackBerry tablet simulator
Before you distribute your application to users, you can test it by using the BlackBerry Tablet Simulator. The BlackBerry Tablet Simulator enables you to run and view your applications exactly as you would on a real BlackBerry PlayBook. The BlackBerry Tablet Simulator operates using VMware software.

Installing the simulator for Windows
Pre-requisites:
Download and install the VMware Player from www.vmware.com/download/player. Verify that you have 8 GB of available hard disk space or more, and at least 2 GB of RAM.
Do not choose the Create a New Virtual Machine option to complete this task.
- On the VMware Player Home screen, click Open a Virtual Machine.
- On the Open a Virtual Machine screen, navigate to the folder where you installed the BlackBerry WebWorks SDK.
- In the bbwp/blackberry-tablet-sdk/BlackBerryPlayBookSimulator-<version> subfolder, click the BlackBerryPlayBookSimulator.vmx file.
- Click Open.
- Click Play virtual machine.
- After the simulator starts, in the Password field, type playbook.
- Click OK.
Installing the simulator for Mac OS
Pre-requisites:
Download and install VMware Fusion from www.vmware.com/products/fusion. You should install VMware Fusion as the root user, or it will not be able to access the simulator files. If you have already installed VMware Fusion as a non-root user, you can still use it without reinstalling by making a copy of the simulator folder as a non-root user. The default location for the simulator files is /Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK for TabletOS <version>/bbwp/blackberry-tablet-sdk/BlackBerryPlayBookSimulator-<version>.
- In VMware Fusion, click File > Open.
- On the Open screen, navigate to the location where you installed the BlackBerry WebWorks SDK.
- In the bbwp/blackberry-tablet-sdk/BlackBerryPlayBookSimulator-<version> subfolder, select the BlackBerryPlayBookSimulator.vmx file.
- Click Open.
- Click Play virtual machine.
- After the simulator starts, in the Password field, type playbook.
- Click OK.
Running your application in the simulator
- Set up the BlackBerry Tablet Simulator: turn on Development Mode and retrieve the IP address.
- Deploy your application to the BlackBerry Tablet Simulator by using the Ripple emulator or the BlackBerry WebWorks SDK.
Set up the BlackBerry Tablet Simulator
- Start the BlackBerry Tablet Simulator.
- In the BlackBerry Tablet
Simulator, turn on the Development Mode. When the BlackBerry Tablet
Simulator is in Development Mode, you can load
and run your application on the simulator, as well as view the IP address of the BlackBerry Tablet
Simulator.
- In the
virtual machine for the BlackBerry Tablet
Simulator, in the upper-right corner of the
simulator screen, click the
icon to access the settings. - From the left panel, select Security.
- On the Security screen, click Development mode.
- Set
Use Development Mode to ON.

- Close
the Settings wndow by clicking the up arrow that's displayed at the bottom of the BlackBerry Tablet
Simulator screen.
The Development Mode icon
displays on the main screen indicating that the Development Mode is
enabled.
- In the
virtual machine for the BlackBerry Tablet
Simulator, in the upper-right corner of the
simulator screen, click the
- Record the
IP address of the BlackBerry Tablet
Simulator. You can view the tablet's IP address
by tapping the
icon.
Deploying your application by using the Ripple emulator
- Complete
the Launch settings in the Ripple
emulator (you'll need to complete the Build section too, if you don't already have it
filled in). After you have saved the settings, the Ripple
emulator retains the settings for the next time you launch your application.
- In the Ripple emulator, select the Build panel.
- Select Settings.
- In the PlayBook IP field, type the IP address of your BlackBerry Tablet Simulator.
- In the
PlayBook Password field, type the password
for your BlackBerry Tablet
Simulator (the default password is "playbook").

- Click the X to close the window and save your settings.
- If the build and deploy services are not currently running, click Start Services.
- Click Package & Launch.
The Ripple emulator builds and packages your application. If the build and package completes successfully, the message "Build succeeded!" displays. The .bar file is created in the output folder you specified in the settings. In the BlackBerry Tablet Simulator, your application launches.
Deploying your application by using the BlackBerry WebWorks SDK
You can use the command-line BlackBerry WebWorks SDK to deploy your application to the BlackBerry Tablet Simulator.
- Successfully package your application with the BlackBerry WebWorks SDK. For more information, see Package from the command line.
- Make sure that your BlackBerry Tablet Simulator is running and that the Development Mode is enabled
- Make sure you know the IP address of the BlackBerry Tablet Simulator
- Open up a command prompt, and navigate to the bbwp\blackberry-tablet-sdk\bin folder, which is under the BlackBerry WebWorks SDK installation folder.
- Type the
following command to load and run your application in the simulator:
For Windows:
blackberry-deploy -installApp -password <simulator password> -device <simulator IP address> -package <BAR file path>For Mac OS:
./blackberry-deploy -installApp -password <simulator password> -device <simulator IP address> -package <BAR file path>Note: You can omit -password <simulator password> if you haven't set a password on your BlackBerry Tablet Simulator.
Removing your application from the simulator
- Open up a command prompt, and navigate to the bbwp\blackberry-tablet-sdk\bin folder, which is under the BlackBerry WebWorks SDK installation folder.
- Type the following command to remove your application from the simulator:
For Windows:
blackberry-deploy -uninstallApp -device <IP_address>
-package <bar file name> -password <device password>
For Mac OS:
./blackberry-deploy -uninstallApp -device <IP_address>
-package <bar file name> -password <device password>
Troubleshooting
To deploy your application to the BlackBerry Tablet Simulator you must perform the following actions:
- Enable development mode on the target BlackBerry Tablet Simulator
- Use the blackberry-deploy utility service from the command line prompt to deploy your application file to the simulator.
A result:success message appears if your application is deployed successfully. An error message appears if there is a problem with the deployment.
|
Error message |
Description |
Possible solutions |
|---|---|---|
|
500 development apps pool exhausted |
This message appears if you have more than ten applications installed on the simulator while in development mode. |
Remove any unused applications from the simulator before you deploy your new application to the simulator. |
|
500 navigator interlock failed |
This message appears when a version of the application is already running on the simulator. |
|
|
Black screen at startup |
When you start the simulator, it might launch a black screen on startup or it might freeze at the "BlackBerry PlayBook" splash screen. |
|
|
Cannot connect: Connection to https://<IP address> refused. You may have to reboot the target. |
This message appears when the simulator is not responding. |
|
|
Connection to <IP address> Refused |
This message appears when a VPN connection is blocking deployment. |
|
|
Device is not in the development mode. Switch to Development from Security settings on the device. |
This message appears when you do not have development mode enabled on your simulator. |
|
| Invalid Auth Credentials |
This message appears after you upgrade your simulator and you are running an older version of the BlackBerry Tablet OS SDK. |
Upgrade the BlackBerry Tablet OS SDK to the same version of the simulator that you are using. |
|
Username or password is invalid or not specified or time on the device is out of sync |
This message appears in the following cases:
|
|