Testing an Application Using a Simulator

Run and test the application on a simulator and verify that the application automatically registers to Unwired Server using the default application connection template.

  1. In the Eclipse Package Explorer, right-click the project and select Run As > BlackBerry Simulator.
    If this is the first time running the simulator, cancel the setup screen.
  2. On the main window, click All to access the applications screen, then scroll until you see the application.
  3. Click to launch the application.
  4. In Sybase Control Center verify that the application connection was created in Applications > Application Connections.
    When the application has successfully registered, the application connection displays a value of zero in the Pending Items column.
  5. Test the functionality of the application. Use debug tools as necessary, setting breakpoints at appropriate places in the application.