How to Use the Windows Mobile 6.1 Device Emulator
[LEFT][CODE]http://www.expta.com/2010/02/how-to-use-windows-mobile-61-device.html[/CODE]
[LEFT][CENTER][URL="http://1.bp.blogspot.com/_IsItvsG4t0k/S4f1Co5VFZI/AAAAAAAAEKE/8EoAWpOtHaI/s1600-h/wm+Device+Emulator.PNG"][IMG]http://1.bp.blogspot.com/_IsItvsG4t0k/S4f1Co5VFZI/AAAAAAAAEKE/8EoAWpOtHaI/s320/wm+Device+Emulator.PNG[/IMG][/URL]
[/CENTER]
The Windows Mobile 6.1 Emulator is a software version of a Windows Mobile phone that you can use to test Windows Mobile applications, such as Exchange ActiveSync. This tool is enormously helpful for testing, troubleshooting, and creating documentation.[/LEFT]
The WM emulator has been around since about 1998, but disappeared for a while, due to some legal issues. I remember using this tool at TechEd a few years ago in a session that taught you how to create applications for Windows Mobile. It's back now, with improved functionality and ease of use.
The emulator runs on top of [B]Microsoft Virtual PC 2007[/B] (a free download). Virtual PC 2007 provides the hooks to the host operating system to provide network access and resource sharing. This makes the emulator much simpler to configure than in the past.
You will need to download the following two packages from Microsoft:
[LIST][*][URL="http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en"][B]Virtual PC 2007[/B][/URL] (32 or 64-bit, 30.5MB)[*][URL="http://www.microsoft.com/downloads/details.aspx?FamilyId=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en"][B]Windows Mobile 6.1 Emulator Images[/B][/URL] (Standard 185MB or Professional 272MB)[/LIST]
Install [B]Virtual PC 2007[/B] first, accepting all the defaults in the setup wizard. No further configuration of Virtual PC 2007 is required.
Next, install [B]Windows Mobile 6.1. Emulator Images[/B], accepting all the defaults in the setup wizard.
To configure the emulator, run it from [B]Start > All Programs > Windows Mobile 6 SDK > Standalone Emulator Images > US English > WM 6.1 Professional[/B]. Click [B]File > Configure[/B]. On the [B]General[/B] tab, browse to your Desktop as the [B]Shared Folder[/B]. This will make your Desktop the external storage card on the emulator. Now check the [B]Network tab and check Enable NE2000 PCMCIA network adapter and bind to[/B] checkbox and click [B]OK[/B]. By now the emulator should have finish starting up.
Use your mouse to configure a network connection on the emulator, as follows:
[LIST][*]Click [B]Start > Settings[/B] on the emulator.[*]Click the [B]Connections[/B] tab and [B]Connections[/B].[*]Click the [B]Advanced[/B] tab and [B]Select[/B] [B]Networks[/B].[*]Select [B]My Work Network[/B] in the top dropdown box[*]If you use a proxy server to access the Internet click [B]Edit[/B]. Click the [B]Proxy Settings[/B] tab, configure your proxy settings. Use the [B]Advanced[/B] button to configure the proxy port, user name, password, and domain. Click [B]OK[/B] to get back to Network Management.[*]Click [B]OK[/B] to return to Settings.[*]Click [B]Network Cards[/B].[*]In the [B]My network card connects to[/B] dropdown box select [B]Work[/B][*]Click [B]NE2000 Compatible Ethernet Driver[/B]. Check to see that the NE2000 Ethernet Driver has received an IP address from your DHCP server, or configure the IP address and name servers here. Click [B]OK[/B] twice to return to Settings.[*]Close [B]Settings[/B].[/LIST]
Now test your Internet connectivity by clicking [B]Start > Internet Explorer[/B]. Enter [B][COLOR=#073763]www.microsoft.com[/COLOR][/B], which will redirect to [B][COLOR=#073763]mobile.microsoft.com[/COLOR][/B], as shown.
[CENTER][URL="http://3.bp.blogspot.com/_IsItvsG4t0k/S4gPy2rd6QI/AAAAAAAAEKM/B0oNtgk_wLQ/s1600-h/internet.PNG"][IMG]http://3.bp.blogspot.com/_IsItvsG4t0k/S4gPy2rd6QI/AAAAAAAAEKM/B0oNtgk_wLQ/s320/internet.PNG[/IMG][/URL]
[/CENTER]
[LEFT]You can now use the WM 6.1 emulator just like a real hardware mobile device! Use it to test Exchange ActiveSync, your company's AutoDiscover record, or your custom applications. The emulator runs the exact same code that Microsoft offers to device manufacturers.
There are several [B]Windows Mobile 6.1 Professional[/B] (touchscreen PocketPC) emulator images:[/LEFT]
[LIST][*]WM 6.1 Classic[*]WM 6.1 Professional (used in the screenshots above)[*]WM 6.1 Professional 240x240[*]WM 6.1 Professional 480x480[*]WM 6.1 Professional Square[*]WM 6.1 Professional Square QVGA[*]WM 6.1 Professional Square VGA[*]WM 6.1 Professional VGA[/LIST]
The [B]Windows Mobile 6.1 Standard[/B] (non-touchscreen SmartPhone) emulator images include:
[LIST][*]WM 6.1 Standard (shown below)[*]WM 6.1 Standard 400x240[*]WM 6.1 Standard 440x240[*]WM 6.1 Standard Landscape[*]WM 6.1 Standard QVGA[*]WM 6.1 Standard Square[/LIST]
[CENTER][URL="http://4.bp.blogspot.com/_IsItvsG4t0k/S4gS8HOxSSI/AAAAAAAAEKU/1Uadj7hRkb4/s1600-h/smartPhone.PNG"][IMG]http://4.bp.blogspot.com/_IsItvsG4t0k/S4gS8HOxSSI/AAAAAAAAEKU/1Uadj7hRkb4/s320/smartPhone.PNG[/IMG][/URL][/CENTER]
[/LEFT]