Configure the Windows Mobile emulator for Hybrid App package
deployment.
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.
- 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.
- Start the Device Emulator Manager and select an emulator to run.
For example:
- Double-click C:\Program Files\Microsoft Device
Emulator\1.0\dvcemumanager.exe.
- In the Device Emulator Manager, right-click the device you want to run and
choose Connect to open the emulator.
- In the Device Emulator Manager, right-click the device again and click
Cradle.
- 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:
- 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.
- 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:
- 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.