DefaultHttpClient Timeout

by Mr.No » Thu, 12 Mar 2009 17:58:03 GMT

Sponsored Links
how i can set the timeout for a DefaultHttpClient?
and which function i must override to handle the event?

rgds Mr.No

DefaultHttpClient Timeout

by dillirao malipeddi » Thu, 12 Mar 2009 18:05:18 GMT

 int connection_Timeout = 10000; // = 10 sec

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

Dilli Rao. M


Sponsored Links

DefaultHttpClient Timeout

by Mr.No » Thu, 12 Mar 2009 21:24:53 GMT



Other Threads

1. Any idea about which will be the next Android Powered Phone on the market?


I liked the G1, but I think Android phones can be MUCH better than G1
is (I am willing to see multi-touch on Android) both on design and

So, does anyone have any idea about when the new Android Phone (HTC,
Motorola???) will hit the market? What about the specs?



2. Question for Android Developers

Good Morning Folks,

I am working on an article for my website and wondered if you guys
would be interested in giving me some feedback on your opinions (and
possibly intentions) regarding the emerging markets for android

I am wondering as you develop applications and look to bring those to
market, are you primarily thinking of using the google android
marketplace, or are you more likely to consider a purely commercial
intrest like Handango or MobiHand, or are you leaning towards the
community based sources that are emerging such as and

I would appreciate any feedback you guys can give me on this. I am
interested in your responses. And I thank you for your time.

Please feel free to contact me, and or visit my site as well. I would
love to see you.




3. Ashwin's Idea: Vonage App

4. How will Android handle different screen resolutions/ratios?

5. Too many mobile phone OSes!!!

6. Android developers UNITE!

7. G1/Android firmware-updates/-upgrades?