阿帕奇的HttpClient 4.1在Android [英] Apache HttpClient 4.1 on Android
问题描述
有没有人尝试过使用Apache HttpClient的较新版本的Android上?有一个在使用Android的HttpClient的一个恼人的错误,我在想,如果我碰上试图重新分配的HttpClient 4.1与我的应用程序的问题。
Has anyone tried to use a newer version of Apache HttpClient on Android? There's an annoying bug in the HttpClient used by Android and I was wondering if I would run into problems trying to redistribute HttpClient 4.1 with my app.
推荐答案
我创建了一个脚本,以转换股票的HttpClient释放到一个Android库项目。 这些包重命名,因此,有没有困惑,其中的类使用。
I created a script to convert a stock HttpClient release into an Android library project. The packages are renamed so that there's no confusion of which classes are used.
此外ThreadSafeClientConnManager和计划工作得很好。
Also ThreadSafeClientConnManager and Scheme work just fine.
这篇关于阿帕奇的HttpClient 4.1在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!