sogeti / DroidNetworking

A networking library for Android.
21 stars 12 forks source link

DroidNetworking

Most Android apps need to use HTTP to send and receive data. There are many options for network communication in Android. Google recommends using the Apache Http Client for Eclair (2.1) and Froyo (2.2). For Gingerbread (2.3) and newer the HttpURLConnection is recommended. However response caching was not introduced in the HttpURLConnection until Ice Cream Sandwich (4.0) was released.

DroidNetworking is a network library built on top of the Apache Http Client. It has support for response caching, authentication, HTTP and HTTPS and many other features. Best of all, DroidNetworking can be used on Eclair (2.1) and newer. It has a simple API which reduces the amount of code needed for network communication.

Build Status

Features

Usage

See the following blog post for examples on how to use DroidNetworking: Introducing DroidNetworking - A network library for Android

Build

DroidNetworking is now using Gradle. If you have Android Studio or Gradle installed on your computer you can type ./gradlew makeJar to build DroidNetworking and create a jar. The jar can be found in droid-networking/build/libs. The latest jar can also be downloaded here

License

Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

Built on CloudBees