Follow these procedures to run the SUP101 project in the BlackBerry
Eclipse plug-in (eJDE).
-
Modify the build path to point to the correct location for the sup-client-rim.jar and UltraLiteJ.jar files.
The files cannot be located in the current project due to a RIM BlackBerry Plug-in restriction.
-
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 on a BlackBerry simulator. By default, the simulator is installed at <UnwiredPlatform_InstallDir>\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25.