Developing a BlackBerry Device Application using the BlackBerry JDE

Follow these procedures to run the SUP101 project in the BlackBerry JDE.

  1. Open the BlackBerry JDE and create a new workspace.
  2. Create a new project in the new workspace.
  3. Change the Project Type to be CLDC Application or BlackBerry Application (depending on the JDE you are using).
  4. Add uep_ribbon_icon.png to Icon files.
  5. Add sup-client-rim.jar and UltraLiteJ.jar files to the Build import jar files.
  6. Copy sup-client-rim.cod and UltraLiteJ.cod files to the simulator directory.
  7. Deploy the SUP101 project to the Unwired Server to which the sample refers.
  8. 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");
  9. Run the project.