什么版本org.apache.http.client的是Android 2.2的?如何使用LIB的应用程序? [英] What version of org.apache.http.client is in Android 2.2 ? How to use lib in app?

查看:120
本文介绍了什么版本org.apache.http.client的是Android 2.2的?如何使用LIB的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何找出是Android 2.2的版本有什么HttpClient的吗?我认为这是重要的信息有,但我没有看到任何谷歌的API文档中的http://developer.android.com/reference/org/apache/http/client/package-summary.html

How can I find out what version of HTTPclient is in Android 2.2 ? I think it's important information to have but I didn't see anything in Google's API documentation http://developer.android.com/reference/org/apache/http/client/package-summary.html

另外,我下载后Apache的HttpClient的4.1.3(或4.2开发测试版),我如何确保我的应用程序使用从下载Apache的库而不是Android的内置的HttpClient API的API调用?

Also, after I download Apache's HTTPclient 4.1.3 (or the 4.2 dev beta) how do I make sure my app uses the API calls from the downloaded Apache library instead of Android's built-in HTTPclient API's ?

我觉得我最后一次尝试它,我得到了一个的很多的警告时,我的应用程序启动关于重复的API

I think the last time I tried it I got a lot of warnings when my app started up about duplicate API's

谢谢!

推荐答案

根据这个官方Android链接,Android团队与比较的Apache DefaultHttpClient ...的 http://android-developers.blogspot.in/2011/09/androids-http-clients.html

As per this official android link , android team supports HttpURLConnection more with compare to DefaultHttpClient of apache ... http://android-developers.blogspot.in/2011/09/androids-http-clients.html

这篇关于什么版本org.apache.http.client的是Android 2.2的?如何使用LIB的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆