int connection_Timeout = 10000; // = 10 sec

HttpParams my_httpParams = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(my_httpParams,
connection_Timeout);
HttpConnectionParams.setSoTimeout(my_httpParams, connection_Timeout);
HttpClient httpclient = new DefaultHttpClient(my_httpParams);  //get http
client with given params

On Thu, Mar 12, 2009 at 3:27 PM, Mr.No <[email protected]> wrote:

>
> Hello,
> how i can set the timeout for a DefaultHttpClient?
> and which function i must override to handle the event?
>
>
>
>
> rgds Mr.No
> >
>


-- 
Dilli Rao. M

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