Setting up the sample application in the BlackBerry JDE

Install the sample application

  1. Visit to download the sample application.
  2. Extract the file.
  3. On the taskbar, click Start > Programs > Research In Motion > BlackBerry JDE 4.7.0 > JDE.
  4. Open the workspace that you want to add the sample application to.
  5. In the workspace tree, right-click the project that you want to add the sample application to.
  6. Click Add project to <workspace directory>.
  7. In the Add project to <workspace> dialog box, browse to the folder where you extracted the sample application.
  8. Click the AcceleratometerDemo.jdp file.
  9. Click Open.

Run the sample application

  1. In the workspace where you added the accelerometerdemo project, right-click accelerometerdemo.
  2. Click Build project.
  3. On the taskbar, click Start > Applications > Research in Motion > BlackBerry JDE 4.7.0 > Device Simulator.
  4. On the Home screen of the BlackBerry® Smartphone Simulator, click the Downloads folder.
  5. Click the accelerometerdemo icon.
  6. In the accelerometer sample application, press the Menu key.
  7. Click Start.

Was this information helpful? Send us your comments.