Host Unresolved! Help!

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Host Unresolved! Help!

Postby andronovice » Fri Sep 18, 2009 12:55 pm

Hello.......
I am finally able to browse the net through the emulator.....But my application that just reads and displays a text file from the net

(the tutorial on how to read a file from the net:by plusminus) doesn't work,,,,,I get the msg as

Host unresolved www.anddev.org:80

I changed the emulator proxy settings through: settings->wirelesscontrols->mobile networks->APN names...and gave the proxy and port info.......Should i modify anything in the code too? In the code I give:

URL myURL = new URL("http://www.anddev.org/images/tut/basic/getdatafromtheweb/loadme.txt");
URLConnection ucon = myURL.openConnection();
I this OK? Can anybody tell me what went wrong??

Thanks in advance.
andronovice
Freshman
Freshman
 
Posts: 6
Joined: Fri Aug 28, 2009 10:44 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests