你如何使用 Android Volley API? [英] How do you use the Android Volley API?
本文介绍了你如何使用 Android Volley API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在考虑在我的下一个项目中实现 Android Volley 库(关于 Volley 的 Google IO 演示).
I am thinking of implementing the Android Volley library in my next projects (Google IO presentation about Volley).
但是,我还没有找到该库的任何重要 API.
However, I haven't found any serious API for that library.
如何使用 Volley 上传文件、执行 POST/GET 请求以及添加 Gson 解析器作为 JSON
解析器?
How do I upload files, do POST/GET requests, and add a Gson parser as a JSON
parser using Volley?
推荐答案
最后是 关于排球库"的官方培训
我找到了一些关于 Volley 库的例子
I found some examples about Volley library
6 个示例 作者:Ognyan Bankov :
6 examples by Ognyan Bankov :
- 简单的请求
- JSON 请求
- Gson 请求
- 图片加载
- 使用较新的外部 HttpClient (4.2.3)
- 使用自签名 SSL 证书.
一个很好的简单例子作者:Paresh Mayani
one good simple example by Paresh Mayani
其他示例 by HARDIK TRIVEDI
other example by HARDIK TRIVEDI
希望对你有帮助
这篇关于你如何使用 Android Volley API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文