This sample code should give you enough information to do it in the
1.0r1 SDK:
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java
-Allan
--
Allan Hsu <allan at counterpop dot net>
On Oct 8, 2008, at 12:04 PM, Rishi wrote:
>
> Is there any recommendation from Android team on how to do thread safe
> HTTP Connection then?
>
>
> On Sep 8, 3:14 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>>> Does anybody know if the version of HttpClient in the Android SDK is
>>> thread safe? The API documentation ( at
>>> http://code.google.com/android/reference/org/apache/http/client/HttpC
>>> ...
>>> ) just has the standard Apache "Thread safety of HTTP clients
>>> depends on the implementation and configuration of the specific
>>> client." disclaimer.
>>
>> The HttpComponents class for multithreaded connections
>> isThreadSafeClientConnManager. It would appear this class is not
>> part of the
>> Android 0.9 SDK, at least not in a public spot.
>>
>> --
>> Mark Murphy (a Commons Guy)http://commonsware.com
>> _The Busy Coder's Guide to Android Development_ Version 1.2
>> Published!
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---