Follow these procedures to run the SUP101 project in the BlackBerry JDE.
-
Open the BlackBerry JDE and create a new workspace.
-
Create a new project in the new workspace.
-
Change the Project Type to be CLDC Application or BlackBerry Application (depending on the JDE you are using).
-
Add uep_ribbon_icon.png to Icon files.
-
Add sup-client-rim.jar and UltraLiteJ.jar files to the Build import jar files.
-
Copy sup-client-rim.cod and UltraLiteJ.cod files to the simulator directory.
-
Deploy the SUP101 project to the Unwired Server to which the sample refers.
-
Modify SUP101DB.java to include your Unwired Server information (lines 47-51). For example:
getSynchronizationProfile().setServerName("<UnwiredServerHost>");
getSynchronizationProfile().setPortNumber(2480);
getSynchronizationProfile().setNetworkProtocol("http");
getSynchronizationProfile().setNetworkStreamParams
("trusted_certificates=;url_suffix=");
getSynchronizationProfile().setDomainName("default");
-
Run the project.