I'm trying to get an HTTP response using
BufferedReader in = new BufferedReader(new
InputStreamReader(url.openStream()));
but if no internet connection is present the app hangs here.
Can any one give me a way to prevent this?
Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to