Deploying and Running the Device Application

Deploy the device application to a Windows Mobile device emulator, and test its functionality.

  1. In Visual Studio, choose Tools > Device Emulator Manager.
  2. Scroll down to Windows Mobile 6 Professional Emulator, right-click, and select Connect.
  3. Right-click Windows Mobile 6 Professional Emulator again and select Cradle.
  4. In the Solution Explorer of Visual Studio, right-click the SUP101 project and select Deploy.
  5. Then in the Windows Mobile emulator go to Start > Programs > File Explorer.
  6. Navigate to the installed path by going in Program Files > sup101.
  7. Click SUP101 to start the application.
  8. Click Sync.
    A message displays in the output box below.
    Customer List Screen
  9. Click Refresh to populate Customer data in the list view.

    Customer List Refresh
  10. Highlight a customer record and then click Update.

    Customer List Update
  11. Make changes, then click Submit to return to the Customers List screen.
  12. Click Sync.
    The change is reflected in the backend database.
  13. Click Refresh and scroll to the bottom of the list view to see the local cache of the changed data.

    Customer List Refresh 2
    You have now successfully completed the replication-based sample tutorial for Windows Mobile.