Setting up the sample application in the BlackBerry JDE

Install the sample application

  1. Visit http://www.blackberry.com/go/udpsample to download the sample application.
  2. Extract the udpdemo.zip 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. Open the client folder.
  9. Click the udpemo.jdp file.
  10. Click Open.

Run the sample application

  1. In the workspace where you added the udpdemo project, right-click udpdemo.
  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 UDP Demo icon.
  6. On your computer, browse to the folder where you extracted the sample application.
  7. In the server folder, double-click run.bat to open the server-side sample application.
  8. In the client-side sample application on the BlackBerry Smartphone Simulator, type a message.
  9. Click the Send button.
The message appears in the server-side application window.
Previous topic: System requirements

Was this information helpful? Send us your comments.