Setting up in the BlackBerry Java Development Environment
To download the BlackBerry Java Development Environment, visit http://developer.blackberry.com/java/download/jde
Create a workspace
- In the BlackBerry Java Development Environment, on the File menu, click New Workspace.
- In the Workspace name field, type a name for the workspace.
- Click Browse and navigate to a location for the workspace.
- Click OK.
Create a project
- In the BlackBerry Java Development Environment, on the Project menu, click Create New Project.
- In the Project name field, type a name for the project.
- Click OK.
Add the Payment Service library to a project
To develop and run a BlackBerry device application that invokes the Payment Service APIs, you must add the .jar file for the Payment Service library to your project.
- In the BlackBerry Java Development Environment, in the Files pane, right-click on the project that you want to add the library to and click Add File to Project.
- On the Files of Type drop-down list, click All Files.
- Navigate to the location where you extracted the Payment Service SDK and double-click the paymentapi.jar file.
- Click OK.