1st u check there is network in it device.then type url in the device's web browser & check it On Sep 28, 2013 7:58 PM, "12169" <[email protected]> wrote: > > Hi, > > i use below code to make http connection. > > URL url = new URL(filePath); > HttpURLConnection con = (HttpURLConnection) url.openConnection(); > con.setReadTimeout(10*1000); > con.setConnectTimeout(10*1000); > > but when i use setReadTimeout and connectTimeout values then > java.net.SocketTimeoutException: Transport endpoint is not connected > > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out.
-- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

