In most apps AndroidHttpClient is best used a singleton for the reasons you 
describe. It doesn't make sense to create a thread pool 
for each AndroidHttpClient instantiation.

>From the Apache HttpComponents dosc:

"DefaultHttpClient is thread safe. It is recommended that the same instance 
of this class is reused for multiple request executions"

(DefaultHttpClient also uses ThreadSafeClientConnManager).

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