All Projects → johnjohndoe → Volley

johnjohndoe / Volley

Licence: other
Gradle ready clone of Google Android Volley

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects
groovy
2714 projects

Volley: Easy, Fast Networking for Android

Volley is a library that makes networking for Android apps easier and most importantly, faster.

Google I/O 2013 Video

We'll give an overview of how it works, common patterns that work well with it, and a walkthrough of how you can easily load thumbnail images for your ListView from the network in parallel.

Project origin

This repository is a clone of the original source code. Some modifications to the project setup have been made to allow Gradle usage.

How to use?

In order to install the library into your local Maven repository run the following command:

$ ./gradlew clean install

This will build the library named volley-1.0.0.aar which can be found in the local Maven repository. The path for the Maven folder should be:

~/.m2/repository/com/android/volley/1.0.0/

The library can now be referenced in an Android application project in the app/build.gradle as follows:

dependencies {
    compile 'com.android:volley:1.0.+'
}

Make sure to also reference the local Maven repository in your root build.gradle as shown here:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.9.+'
    }
}

allprojects {
    repositories {
        mavenCentral()
        mavenLocal() // When you forget this, the library will not be found
    }
}

JavaDoc and sources

The build script includes tasks to generate JavaDoc and sources archives. The tasks are executed automatically when the library is installed into the local Maven repository. The archives can be found in the same folder as the library itself:

~/.m2/repository/com/android/volley/1.0.0/volley-1.0.0-javadoc.jar
~/.m2/repository/com/android/volley/1.0.0/volley-1.0.0-sources.jar

More about

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].