Android的 - 使用Apache包:org.apache.http [英] android - using apache package : org.apache.http
问题描述
我想写Android Studio中某些SSL相关code和我注意到,我可以使用类 org.apache.http.client.HttpClient
开箱即用的。
I am trying to write some SSL related code in Android Studio, and I noticed that I could use the class org.apache.http.client.HttpClient
out of the box.
1),这是否包附带Android的SDK,还是Android的工作室做些额外的事情,使其可?
1) Does this package ship with Android's SDK, or did Android Studio do something extra to make it available ?
2)的进口,我可以看到:
2) In the import, I can see :
import org.apache.http.client.HttpClient;
如何我使用我检查这个类的哪个版本?它似乎有几个<一个href=\"http://grep$c$c.com/search?query=org.apache.http.client.HttpClient&start=0&entity=type&n=\"相对=nofollow>版本的。
推荐答案
这是标准的Android SDK的 http://developer.android.com/reference/org/apache/http/client/HttpClient.html
你也可以看看这个链接,查看使用哪个版本的http://grep$c$c.com/snapshot/repository.grep$c$c.com/java/ext/com.google.android/android/4.4.2_r1/ (4.4.2版本4.0.1是)
It is part of the standard Android SDK http://developer.android.com/reference/org/apache/http/client/HttpClient.html You could also have a look at this link to see which version is used http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/4.4.2_r1/ (in 4.4.2 the version is 4.0.1)
这篇关于Android的 - 使用Apache包:org.apache.http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!