This article shows how to setup the internet connectivity on Windows Mobile Emulator.
I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studio or as a standalone (there is a link down the bottom).
You can launch your emulator and see if Internet Explorer works on it. If it doesn't, you need to perform the following steps:
1. Microsoft Virtual PC 2007
For a "clean" testing environment Install Microsoft Virtual PC 2007
. See Virtual PC at http://go.microsoft.com/fwlink/?LinkId=78095
It really does make it easier to change network setting and that type of thing without affecting your day-to-day configuration.
2. Launch Device Emulator Manager.
You can find "Device Emulator Manager..." in "Tool" menu.
Click on the right mouse button will launch the manager.
3. Choose one of the emulators
For example, Windows Mobile 6 Classic, and start it by clicking on "Connect"
item in the popup menu
Another way to start device emulator from Visual Studio is through "Connect To Device" item in the "Tools" menu.
In the device list (Picture 3) you need to pick one and press "Connect" button (Picture 4).
4. Setup the emulator configuration
and here choose the Network
5. Check the first checkbox
Enable NE2000 PCMCIA network adapter and bind to:
". The combo box shows "Connected network card"
6. Open the device settings
Through Start menu->Settings
in the emulator
7. Choose Tab Connections
Here choose the "Advanced"
8. Select Network button
shows Network Management settings
9. Setup Network
In the first combo box choose "My Work Network"
Then press "Ok"
till you get back to the main device screen.
10. For Windows Vista
In the Windows Mobile Center
you need to find the Mobile Device Settings
if you already set a partnership with a mobile device, you can click on its item when the device is disconnected. In this stage you will see the Windows Mobile Center Home
page with one item in the middle "Mobile Device Settings"
Under this item you can find "Connection Settings"
11. Setup Connection Settings
In this dialog you need to choose "DMA"
in the first combo box
12. For Windows XP
If you have Windows XP
, the same settings dialog you can find in the menu "File->Connection Settings..."
of the ActiveSync. Make this change when you don't have any device connected to your PC.
13. Choose Emulator
Now in Device Emulator Manager
, select the running emulator, right mouse click calls the popup menu where you need to choose "Cradle" item
14. Windows Mobile Center or ActiveSync
Will react automatically and you'll need to setup the partnership with the running emulator.
15. Launch IE
Now you can launch Internet Explorer on your emulator
16. To save an emulator's state
In the emulator's window, select "File->Save State and Exit"
in the main menu.
It is, probably, the simplest way to connect the device emulator with the internet.
You can find more information about the emulators in MSDN:
"Step by Step: Using Microsoft Device Emulator In-Depth in Your Application Development Experience[/url]
" Download Device Emulator 3.0[/url]
" Device Emulator Reference Manual[/url]