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:
- 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.
-
In the BlackBerry Projects section, click
Deselect All.
-
Select the check box beside the
CustomButtonsDemo project.
-
Click
Finish.
Run the sample application
- In Eclipse®, in the Navigator pane, right-click the CustomButtonsDemo
folder.
- Click Run As > BlackBerry Simulator.
- On the Home screen of the BlackBerry® Smartphone Simulator, click the Downloads folder.
- Click the Custom Buttons Demo
icon.
Was this information helpful? Send us your comments.