It does work fine here.

My target is 1.5. What's yours?

On Nov 1, 3:28 pm, Andrei <gml...@gmail.com> wrote:
> Thank you
>
> Firstly your code sets read/write timeout, not connect
> Secondly if done right it does same thing as my sample
> Thirdly I tried it does not work
>
> On Nov 1, 10:03 am, Jonas Alves <jona...@gmail.com> wrote:
>
>
>
> > HttpClient httpClient = new DefaultHttpClient();
> > httpClient.getParams().setParameter("http.socket.timeout",
> >                                 new Integer(3000)); // milliseconds
>
> > On Oct 31, 10:55 pm, Andrei <gml...@gmail.com> wrote:
>
> > > I try to set timeout for apache http client like this
> > >     HttpConnectionParams.setConnectionTimeout( params, TIMEOUT );
> > > But it does not work
> > > Is there a way to set connect timeout for http client on Android?
> > > Thanks

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

Reply via email to