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.