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,785 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
checoo earned 500 total points
ID: 17928320
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
ID: 18121201
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
ID: 18121933
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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