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 Visual Studio, choose Tools > Device Emulator Manager.
  2. Scroll down to the entry for Windows Mobile 6 Professional, right-click that entry and select Connect.
  3. Right-click the entry for Windows Mobile 6 Professional again and select Cradle.
  4. In the Solution Explorer of Visual Studio, right-click the C# project and select Deploy.
  5. In the Windows Mobile emulator go to Start > Programs > File Explorer.
  6. Navigate to the installed path by going in Program Files > <Application>.
  7. Start the application.
  8. 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.
  9. Test the functionality of the application. Use debug tools as necessary, setting breakpoints at appropriate places in the application.