Setting up the sample application in the BlackBerry Java Plug-in for Eclipse

Install the sample application

  1. In Eclipse®, on the File menu, click Import.
  2. In the Import dialog box, expand the BlackBerry folder.
  3. Click Import BlackBerry Samples.
  4. Click Next.
  5. Perform one of the following actions:
    • To specify a specific JRE™, select the Use a project specific JRE option.
    • To specify the default JRE in the workspace, select the Use default JRE option.
  6. In the BlackBerry Projects section, click Deselect All.
  7. Select the check box beside the EmbeddedMapDemo project.
  8. Click Finish.

Run the sample application

Before you begin:To perform this task, you must set Eclipse® to start the BlackBerry MDS Connection Service when you start the BlackBerry Smartphone Simulator.
  1. In Eclipse®, in the Navigator pane, right-click the EmbeddedMapDemo folder.
  2. Click Run As > BlackBerry Simulator.
  3. On the Home screen of the BlackBerry® Smartphone Simulator, click the Downloads folder.
  4. Click the Embedded Map Demo icon.
Previous topic: System requirements

Was this information helpful? Send us your comments.