<

Windows Mobile Emulator and Internet Connectivity

Published on
15,171 Points
8,971 Views
2 Endorsements
Last Modified:
Approved
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.
 Picture 1. Launch Device Emulator Manager in VS 2005Click on the right mouse button will launch the manager.
 Picture 2. Device Emulator 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
 Picture 5.
Note.Another way to start device emulator from Visual Studio is through "Connect To Device" item in the "Tools" menu.
 Picture 3. "Connect To Device" menu item in VS 2005.In the device list (Picture 3) you need to pick one and press "Connect" button (Picture 4).
 Picture 4. "Connect To Device" list.

4. Setup the emulator configuration


File->Configuration
 Picture 6.and here choose the Network Tab
 Picture 7.

5. Check the first checkbox


Enable NE2000 PCMCIA network adapter and bind to:". The combo box shows "Connected network card"
 Picture 8.Press "Ok".

6. Open the device settings


Through Start menu->Settings in the emulator  
Picture 9.

7. Choose Tab Connections


Launch Connections  
Picture 10.Here choose the "Advanced" Tab  
Picture 11.

8. Select Network button


Picture 12.
shows Network Management settings  
Picture 13.

9. Setup Network


In the first combo box choose "My Work Network"  
Picture 14.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"  
Picture 15.Under this item you can find "Connection Settings"  
Picture 16.

11. Setup Connection Settings


In this dialog you need to choose "DMA" in the first combo box  
Picture 17.

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
Picture 18.

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  
Picture 19.

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]
2
Comment
Author:pgnatyuk
  • 3
5 Comments
LVL 48

Expert Comment

by:Mikal613
On a non windows 7 environment its pretty much straight forward. How about adding some info for Windows 7.

Heres a source:

http://social.msdn.microsoft.com/Forums/en/microsoftdeviceemu/thread/1481b4d7-dc14-4089-8232-8fbb62bc80e5
0
LVL 33

Author Comment

by:pgnatyuk
I checked the link you posted.
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.

0
LVL 48

Expert Comment

by:Mikal613
i have already done it with windows 7. Virtual pc 2007 cannot be installed on windows 7. Its a lengthy process.
0

Expert Comment

by:jinfeld
I am trying to set up Pocket PC WM 5 emulator on an XP SPack3 box. Virtual PC 2007 SP1 is installed.
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
0
LVL 48

Expert Comment

by:Mikal613
Can you please open a Question for this?
0

Featured Post

Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Join & Write a Comment

Overview of OneDrive and collaboration.
Watch this simple and effective video tutorial to extract attachments from Outlook 2007 and try this easy method by yourself. No need to go anywhere, just watch the video and export attachments from Outlook in few simple steps. To know more, click h…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month