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

Follow these procedures to run the SUP101 project in the BlackBerry® Java® Plug-in for Eclipse®.

  1. Modify the build path to point to the correct location for the sup_client_rim.jar, CommonClient.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, CommonClient.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.