Setting up the sample application in the BlackBerry Java Plug-in for Eclipse
Install the sample application
- In Eclipse®, on the File menu, click Import.
- In the Import dialog box, expand the BlackBerry folder.
- Click Import BlackBerry Samples.
- Click Next.
- Perform one of the following actions:
- In the BlackBerry Projects section, click Deselect All.
- Select the check box beside the GPSDemo project.
- Click Finish.
Run the sample application
- In Eclipse®, in the Navigator pane, right-click the GPSDemo folder.
- Click Run As > BlackBerry Simulator.
- On the Home screen of the BlackBerry® Smartphone Simulator, click the Downloads folder.
- Click the GPS Demo icon.
- In your Eclipse installation folder, navigate to the GPS server folder. The default installation path is C:\Program Files\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.16\components\samples\com\rim\samples\server\gpsdemo.
- In the server folder, double-click run.bat to open the server-side sample application.
Next topic: Install the sample application
Previous topic: System requirements