Volley.jar 制作方法

来源:互联网 发布:济南行知小学学区划分 编辑:程序博客网 时间:2024/05/19 12:14

1. What is Volley?

Volley is a library, which is used for Android apps making request/response more easier and faster. It designed and developed by Google.


2. How to get Volley

Git clone the repository: 

git clone https://android.googlesource.com/platform/frameworks/volley


3. Making a .jar for volley via Eclipse

  • Importing the Volley folder into Eclipse
  • Right-click the Volley project and select Export...
  • Select Java/JAR file,
  • Since we only need the src folder, we only select the src folder. The easy way to do it is that de-select the volley, then open the volley folder, only select the src solder, 
  • Check the Export generated class files and the resources option, 
  • Also can select Export Java Source files resources to view Javadoc to be visible
  • Create the JAR file and put it into Android project libs/  folder.
  • Enjoying your programming.


References:

[1] http://developer.android.com/training/volley/index.html

[2] 

0 0
原创粉丝点击