Skip to content
This repository

Automatically parse RESTful API responses into a Provider in Android

branch: master

What is it?

The RESTProvider aims to make it easy to access REST service (or any online data format through mainly HTTP calls) and cache it locally into a SQLite database. It permits offline usage and some sort of syncing mechanism against a snapshot of user data.


The need for a framework to access the net is more apparent on mobile devices due to the instability of network connections and its cost. Accessing online information in an offline manner is essential for best user experience. Similarly, offline actions can be pushed back to online services when a connection becomes available.


The RESTProvider relies on 2 submodules:

  • HttpService - making HTTP calls via a Service asynchronously
  • SQLiteProvider - helper project for various SQLite methods behind a ContentProvider

The idea is that the HttpService provide the framework for calling online data while the SQLiteProvider populate the data from the previous call into SQLite. The RESTProvider itself maps the calls to corresponding tables. For more information, visit the 2 projects individually.

How to install


Simple usage



Otherwise noted, RESTProvider is free and open source and may be used under the terms of the Apache License, Version 2.0

Something went wrong with that request. Please try again.