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
Note.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
File->Configuration
and here choose the
Network Tab
5. Check the first checkbox
Enable NE2000 PCMCIA network adapter and bind to:". The combo box shows
"Connected network card"
Press
"Ok".
6. Open the device settings
Through
Start menu->Settings in the emulator
7. Choose Tab Connections
Launch
Connections
Here choose the
"Advanced" Tab
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 and
ActiveSync, 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:
[url="
http://msdn.microsoft.com/en-us/library/bb278114.aspx"Step by Step: Using Microsoft Device Emulator In-Depth in Your Application Development Experience[/url]
[url="
http://www.microsoft.com/Downloads/details.aspx?familyid=A6F6ADAF-12E3-4B2F-A394-356E2C2FB114&displaylang=en" Download Device Emulator 3.0[/url]
[url="
http://msdn.microsoft.com/en-us/library/aa188174.aspx" Device Emulator Reference Manual[/url]
Comments (5)
Commented:
Heres a source:
http://social.msdn.microsoft.com/Forums/en/microsoftdeviceemu/thread/1481b4d7-dc14-4089-8232-8fbb62bc80e5
Author
Commented:I think now it works the same way on Vista too - just enable connection via DMA in WMDC.
I'm not sure yet. I need a test on a clean computer.
I've not switched to Windows 7- all my computers have a lot of diffrent dev tools installed.
Commented:
Commented:
In the emulator: File > Configure > Network
When I check the box "Enable NE2000 PCMCIA network", it does not stay checked. It clears immediately after I close that screen. How do I get it to stick?
Jerry
Commented: