Create a new BlackBerry SUP101Sample project in the BlackBerry Java
Plug-in for Eclipse. Add library resources to the project.
Prerequisites
Install the BlackBerry Java Plug-in for Eclipse. Review the
Supported Hardware and Software requirements to ensure you have the correct
version.
Task
Start the BlackBerry Java Plug-in for Eclipse.
Note: When the Eclipse Workspace Launcher prompts you to select a workspace, do not
choose one that you are using with Unwired WorkSpace. If necessary, select or
create a new workspace.
Depending on the BlackBerry Plugin version:
Select File > New > BlackBerry Project, or
Select File > New > BlackBerry > BlackBerry Project.
In the New BlackBerry Project wizard, use these values and click Next.
Project name – enter SUP101Sample.
Use a project specific JRE – select the BlackBerry OS version that was
automatically installed with the plugin.
In the Java Settings page, modify the build path to point to the correct
location for the sup_client2.jar and UltraLiteJ12.jar files for the project:
Click the Libraries tab.
Click Add External JARs.
Browse to <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK213\ObjectAPI\BB.
Copying Unwired Platform Files to the Sample Project
Copy Unwired Platform BlackBerry runtime files and generated object API code to the SUP101Sample project. You had created the code previously in the Generate Code wizard.