Hi all,

I have a problem in my code ,runs on the emulator very well,but on my
T-mobile G1 doesn't time out .Code snippet is below :-

URL myURL = new URL(uriBuilder.toString());
URLConnection myConnection = myURL.openConnection();
       myConnection.setConnectTimeout(40000);

so when no internet connection it doesn't time out at all !!!!!

any Idea ?
-- 
tarek

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