凌空Android的网络图书馆 [英] Volley Android Networking Library

查看:131
本文介绍了凌空Android的网络图书馆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我身边在我的项目使用凌空几个问题:

  1. 可这个库可以在任何Java项目或只是Android的使用?
  2. 在我看到多个分支机构这里 并没有文件上的哪个分支是开始。哪个分支我应该使用下手?
  3. 如何在自己的项目中集成该库?有什么方法比较好?做排球作为一个独立的库项目和自旋一个罐子,把它放在你的项目或复制的所有源$ C ​​$ C本项目中
解决方案

  $ git的克隆https://android.googlesource.com/platform/frameworks/volley
$ CD凌空
$ Android的更新项目-p。
$蚂蚁罐
 

然后,复制斌/ volley.jar 库/ 文件夹和您去!

I have few questions around using Volley in my projects:

  1. Can this library be used in any Java project or just Android?
  2. I see multiple branches here and no documentation on which branch is to start with. Which branch should I use to start with?
  3. How do you integrate this library in your own project? What approach is better: Make Volley as a standalone library project and spin a jar and put it in your project or copy the all source code inside your project?

解决方案

$ git clone https://android.googlesource.com/platform/frameworks/volley
$ cd volley
$ android update project -p .
$ ant jar

Then, copy bin/volley.jar into your libs/ folder and off you go!

source

这篇关于凌空Android的网络图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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