android-async-http

来源:互联网 发布:呛口小辣椒的淘宝店铺 编辑:程序博客网 时间:2024/06/05 03:59

https://github.com/loopj/android-async-http


android-async-http开源框架可以是我们轻松的获取网络数据或者向服务器发送数据,使用起来也很简单,下面做简单介绍,具体详细使用看官网:https://github.com/loopj/android-async-http

1.新建项目,去官网下载zip包,解压,打开releases文件,把里面最新的jar包,考入项目工程libs目录下,引入包。

2.通过1,就可以使用了,很简单,下面是自己写的demo,用它提供的各种不同方法完成从服务器获取一个json数据:



另外一个

https://github.com/square/okhttp

0 0