Configuring the Windows Mobile Emulator

Configure the Windows Mobile emulator for Hybrid App package deployment.

Prerequisites
Task
This tutorial uses examples based on one of the supported emulators. The screens and steps for configuring other supported emulators might be different. See Supported Hardware and Software for the most current version information for mobile device platforms and third-party development environments.
  1. Start the synchronization software if it is not already running.
    For example, on Windows XP, start Microsoft ActiveSync. On Windows Vista, Windows 7, or Windows 2008, start the Windows Mobile Device Center.
  2. Start the Device Emulator Manager and select an emulator to run.
    For example:
    1. Double-click C:\Program Files\Microsoft Device Emulator\1.0\dvcemumanager.exe.
    2. In the Device Emulator Manager, right-click the device you want to run and choose Connect to open the emulator.
      device emulator manager
    3. In the Device Emulator Manager, right-click the device again and click Cradle.
  3. The synchronization software runs and connects to your device. If the Pocket PC Sync Setup wizard opens, follow the instructions to configure synchronization. Accept all the defaults, or optionally, change the default computer name and the information types to synchronize. Click Finish to save your settings.
    ActiveSync completes the connection:
    ActiveSync connected
  4. Run NETCFSetupv35.msi to install the Microsoft .NET Compact Framework Redistributable on your running emulator. Follow the setup wizard instructions, and click Finish to close the wizard when you are done.
    Note: Be sure to run NETCFSetupv35.msi while your emulator is running; otherwise the .NET Compact Framework Redistributable is not installed correctly.
  5. In Windows Explorer, copy SUP_Home\MobileSDKversion\HybridApp\Containers\WM\HybridWebContainer.cab file to a folder in the Mobile Device file system. If prompted by the File Conversion dialog to confirm the conversion of synchronized files, click OK.
    For example:
    mwf_mobile_device_temp
  6. On the device emulator, open File Explorer and browse to the folder to which you copied the CAB file. Click the file once to install the Hybrid Web Container on your emulator.