This error/exception comes because of no network connectivity.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Thu, Jan 13, 2011 at 1:02 AM, Ankur Avlani <[email protected]> wrote:

> Hi All,
>
> I am developing an application on Android.  I have seen that at times when
> I try to connect using HttpURLConnection, for getting an Image or anydata, I
> get the following error:
>
> 01-12 11:24:05.073: WARN/System.err(16780): java.net.UnknownHostException:
> Host is unresolved: www.XXX.com:80.
>
> Note: I get this error on my Motorolla Droid and not in emulator.
>
> Any ideas?
>
>
> Thanks,
> Ankur
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to