This code doesn\'t work:
URL url = new URL( xmlPath );
InputSource input = new InputSource( url.openStream() );
all the time, res
I couldn't get rid of the emulator "UnknownHostExceptions" - and the emulator's browser wouldn't get a connection either. Tried all suggestions I could find at stack overflow and everywhere else.
Finally I deleted my AVD, shut down Eclipse, and then created the AVD via the command line. Then launched it via command line with the -dns-server 8.8.8.8. (on my Mac: ./emulator -avd Google-8 -dns-server 8.8.8.8) It finally worked!
Hope this helps someone else.