Thanks Kwisatz. This was helpful and helped me realize the issue is actually that I'm trying to do data access during a voice call, which can only be done when the device is in 3G or WiFi mode. Unfortunately, my emulator is displaying GPRS and it's not clear how to switch it. Neither the netspeed flag for the emulator nor the *#*#4636#*#* test mode option does the job.
I'll post again to see if anyone knows how to do this. Thanks On Jan 27, 9:00 am, Kwisatz <[email protected]> wrote: > Hello, > > I also had the same problem and spent an entire day messing with > configurations and sugestions found on Google. No luck at all. > Until I found a solution that seemed ridiculous, but... it worked! > > Start theEmulatornormally (even from eclipse), and in the GUI go to: > Settings >> Wireless & networks >> Mobile networks >> Access Point > Names > > Edit the existing one (just click on it). > > Fill the fields for Proxy and Port with theDNSserver you want to > use. For example: > Proxy: 194.79.69.129 > Port: 3128 > > Save, and... voilá. > > Try it now. It can now resolveDNSnames in your application on HTTP > calls. > > Hope it helps. > > On 24 Jan, 05:01, ajoburg <[email protected]> wrote: > > > I've read many postings aboutproblemsgetting the Androidemulator > >DNSto work properly in certain situations. I have a simple app that > > makes an HTTP connection to a server on the Internet. If I use an IP > > address using the latest version of theemulator it works fine. If I > > use the domain name it throws a java.net.UnknownHostException: Host is > > unresolved: exception. The identical code works fine on any actual > > device. > > > Has anyone figured out how to fix this situation? I've spent days > > trying everything, from using proxy servers to setting up and running > > aDNSserver on my development machine. > > > This situation/experience is a shame, because theemulatorseems like > > such an impressive and well thought out collection of tools for > > developing and testing apps. However, it is currently useless to me. > > > Is there anyone who can help? > > > A prior thread on the same issue--appears to be the same situation: > > >http://groups.google.com/group/android-developers/browse_thread/threa... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

