I'm writing some applications and demos for the Summer Class using the .NET Compact Framework 3.5. For one of them I need the internet, but couldn't connect. Some problem about the device emulator that can't connect due to Virtual PC. I've found the solution now and wanted to share it.
First, install Active Sync 4.0 or higher. I've used 4.5. Then go to connection settings and set "Allow connections to one of the following" to "DMA". Press okay.
The simplest way for anyone to get the Mobile Device Emulator running is to start a new smart device project and build and deploy the project, or plain press "F5". You're now connected. In Visual Studio choose "Tools" and select "Device Emulator Manager". Now one device should have some "play" icon in front of it, as in the screenshot on the right. Right-click the running emulator and choose "Cradle". ActiveSync will start syncing stuff.
Proxy serverIt's possible you're browsing the internet using a proxy server. Be sure to configure it. In the Windows Mobile start menu, select "Settings". Select the tab "Connections" at the bottom and then select the "Connections" icon. Select "Manage existing connections" and select the "Proxy settings" tab at the bottom.
What networkWindows Mobile has two preferences on what network/connection to use for either internet or private network stuff. In my case it wanted to connect to the internet via an ISP. Of course I don't have one in my emulator, so I had to change it to "My work network". You can do this by selected "Settings" in the start menu, then select the "Connections" tab and then the "Connections" icon. Select the "Advanced" tab at the bottom and then press the "Select networks" button. In the top button set the combobox to "My work network" and you should have internet.
UPDATE:For some reason, Windows Mobile suddenly configures a proxy server in its settings, completely unknown to me. I have no idea where it comes from and I'm not using a proxy server anywhere. If I uncheck it, I can connect again. Very weird.
When first cradling my emulator ActiveSync cannot connect for some weird reason. In ActiveSync I choose "Connection settings..." from the file menu, choose the upper-right "connect" button and immediately cancel it. Then it's suddenly able to connect.
You just gotta love this stuff! :-)
Hi,
I am an electrical engeneer student from Chile.
I have to design a device who mesure the power and that can put the datas on internet.
In particular my job should be to design the internet conncetion.
Do you have any idea of the way i can do that?
thanks
roberto
c20ster@gmail.com
No I don't... A device isn't neccesarely mobile so maybe this isn't what you're looking for. There are so many things I don't know about the requirements I couldn't give you anything as for how to solve it.
Sorry :)
Is there any emulator that can be used on Pc to brows the internet free of charge?
hoodwing@yahoo.com
Confieso que soy un adicto a los blogs y a las distintas variantes que existen de los mismos. De entre
I just wanted to thank you a lot for this article.
It really helps !