Developing a BlackBerry Device Application using the BlackBerry Eclipse Plug-in

Follow these procedures to run the SUP101 project in the BlackBerry Eclipse plug-in (eJDE).

  1. 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.
  2. Copy sup-client-rim.cod and UltraLiteJ.cod files to the simulator directory.
  3. Deploy the SUP101 project to the Unwired Server to which the sample refers.
  4. 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");
  5. 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.