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 C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\simulator.