In addition to what bob says: SocketTimeoutException is an IOException. There's a whole bunch of stuff that can go wrong when it comes to IO. The Internet connection could be down, the server you want to contact could be down, the response from the server could be faulty, etc. etc. Your code needs to be able to deal with these problems.
Catch the exception and present the user with an error message and provide a "retry" button. You also may want to check the network connection<http://developer.android.com/reference/android/net/ConnectivityManager.html>if it's currently up and usable. On Friday, January 4, 2013 7:49:38 AM UTC-6, sree wrote: > > How can i fix SocketTimeoutException: Connection timed out > give me any suggession. > > -- 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