Downloading the BlackBerry simulator

If you do not have a BlackBerry device, a simulator is available for download from the RIM BlackBerry Web site.

  1. On the Developers page, under the Downloads link, select BlackBerry Simulators.

  2. On the BlackBerry Simulators page, click Download a Device Simulator.

  3. In the next window, select BlackBerry Handheld Simulator v4.1 from the drop-down list.

  4. Select BlackBerry Handheld Simulator v4.1.0.292.

For simulator documentation, access the Developer’s window; select the Developer Documentation link under “Development Questions;” and scroll down to the Simulator section.

StepsInstalling an offline client on a BlackBerry simulator

A BlackBerry simulator, installed on the desktop, can be a useful tool for testing and troubleshooting mobile applications during development.

  1. Navigate to $SYBASE/tomcat/webapps/onepage/ota/bb/direct.

  2. Copy the Uaclient.*, Uaframework.*, and Ualistener.* files into your BlackBerry simulator installation directory:

    $RIM/Research In Motion/BlackBerry JDE 4.x/simulator

  3. Optionally, select Start | Programs | Research In Motion | BlackBerry Java Development Environment 4.1.x | MDS Simulator to start the BES simulator. You can minimize the Java.exe window.

  4. Select Start | Programs | Research In Motion | BlackBerry Java Development Environment 4.1.x | Device Simulator to start the BlackBerry device simulator. You can minimize the Device Simulator window.

  5. Access the BlackBerry Handheld Simulator window. You see the Unwired Accelerator (UA) icon.

  6. To run the UA offline client, highlight the Unwired Accelerator icon, and open it. The Unwired Accelerator window displays. The message starting with Currently there are no synchronized applications available displays.

  7. Set up a user on the BlackBerry simulator as described in “Setting up a UA user on BlackBerry”.