What do you get? nothing? an uncaught exeption (forced quit) or maybe
something else? Use LogCat, that will show you detailed information
about your application.
I use URL and URLConnection to simply load data from the net, this
works like a charm. But I think i'll have to agree with Justin, you
you have to set the premissions for internet.
Please read:
http://www.itblogs.info/index.php/2009/07/27/android-apps-internet-permission?blog=6
On Mon, Sep 7, 2009 at 5:04 AM, Smelly Eddie wrote:
>
> Can you access the web with the emulator? I get hostname can not be
> resolved errors in similar
Can you access the web with the emulator? I get hostname can not be
resolved errors in similar code as above.
Do I specify my pc as a proxy or something?
On Jul 22, 11:16 am, "Justin (Google Employee)"
wrote:
> My guess is you are using the emulator here. To the emulator,
> "localhost" will ref
My guess is you are using the emulator here. To the emulator,
"localhost" will refer to the emulator itself. It is its own virtual
device, you may consider it its own entity on the network, so you'll
need to use a proper hostname or IP address for the servlet you want
to access.
Cheers,
Justin
An
4 matches
Mail list logo