Search code examples
androidhttpandroid-networkingandroid-volley

Volley Android Networking Library


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?

Solution

  • $ 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