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
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,778 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iOS Simulator for Windows? 2 187
Phones With Stylus Slot 4 87
Is there a workaround for WiFi problems with the Note 5 and Aruba? 10 75
how to change voice of waze gps 5 162
When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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