Solved

How do you set up Pocket PC Emulator to be able to access network and make HTTP requests

Posted on 2006-11-07
3
3,768 Views
Last Modified: 2013-11-18
I am trying to write a simple smart device TCP/IP client using the .NET Compact Framework.  All I want to do is open a socket, send some text and close the socket.  Whenever I try to establish the connection, I get the "unreachable host" error.  Do I need to set up my Pocket PC emulator to do this?  How do I do this.  All the docs that I've read on how to do this has not solved this problem for me.  Thanks.  Also, the same app works fine from my PC, it just won't work from the Pocket PC emulator.
0
Comment
Question by:mromeo
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
checoo earned 500 total points
Comment Utility
You need to setup an Active Sync connection with the emulator before you can connect to your PC network

With VS2005, you can directly connect emulator to ActiveSync following this way:

    * Open Visual Studio 2005
    * Click Tools -> Device Emulator Manager
    * Select an emulator, such as Windows Mobile 5.0 Pocket PC Phone Emulator
    * Right click it and Connect (Or Click Actions -> Connect from Device Emulator Manager)
    * When emulator boots up, open ActiveSync Connection settings...
    * Check "Allow connections to one of the following:" and select DMA from the listbox, then OK
    * On Device Emulator Manager, click Actions -> Cradle

And then Emulator will sync with your desktop

After following the above steps your emulator will be able to connect to the socket server.
0
 
LVL 14

Expert Comment

by:raja_ind82
Comment Utility
Please check whether you have any proxy settings in your network
if yes, then set the proxyserver settings start->settings->connections(tab)->connections->setupmy proxyserver
enter the proxyservername.

If you are creating the mobile device application,
1. start debugging(F5)
2. Ask to choose where to deploy
3. select the suitable emulator

this will open emulator and run the application

Note: you must have activesync in your machine
0
 
LVL 9

Expert Comment

by:checoo
Comment Utility
manual setting of the proxy will not be required once the emulator does an active sync synchronization then it will automatically pick up the proxy settings present in the desktop Internet explorer
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I recently asked a question (http://www.experts-exchange.com/Programming/Smartphones/Android/Q_28684946.html) about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now