Android中http交互是用HttpUrlConnection还是AndroidHttpClient好呢?
16lz
2021-01-23
下面是作者Tim Bray给出的答案
Which client is best?
Apache HTTP client has fewer bugs on Eclair and Froyo. It is the best choice for these releases.
For Gingerbread and better, HttpURLConnection is the best choice. Its simple API and small size makes it great fit for Android. Transparent compression and response caching reduce network use, improve speed and save battery. New applications should useHttpURLConnection; it is where we will be spending our energy going forward.
更多相关文章
- 《Android移动应用基础教程》(Android Studio)(第二版)黑马教程 课后
- 2020最新Android大厂面试真题大全(附答案)
- Android 获取播放视频的相关 内容, 分辨率, 方向,作者信息
- Android 获取播放视频的相关 内容, 分辨率, 方向,作者信息
- android 常见面试题以及答案
- Android面试题目及其答案
- Android 最全面试题汇总(问题+答案+详解链接)
- 《Android移动应用基础教程》(Android Studio)(第二版)黑马教程 课后
- android的帮助、about、关于作者、HELP等的提示页面