Create the BlackBerry project and add the generated mobile business object (MBO) Java files to the BlackBerry JDE.
- Launch the BlackBerry JDE and create a new workspace.
- Create a BlackBerry project and name it SMPClient.
- Right-click the project and select Properties.
- In the properties dialog, select the Application tab, specify Application for Project type and select Always make project active in the General tab of the properties for the project.
- Select the Build tab, and click
Add next to “Imported jar files.” Add files as
described in Developer Guide:
BlackBerry Object API Applications > Development Task Flow for Object API
Applications > Creating a Project > Adding Required .jar and .cod
Files.
- Click OK.
- Copy the MBO generated Java code from the generated location to the project location.
- MBO generated code – references the Client object API and contains the Java
files that implements the business logic of your project. Navigate to
the src subdirectory where you generated the Java
code from your SAP Mobile WorkSpace mobile application.
This location is dependent on the workspace that you used.
For example, if your workspace is in the
C:\myBBapplications directory and the name
of the mobile application project is test,
navigate to C:\myBBapplications\test\Generated
Code\src\test and copy all of the
.java files to your project.