Home

Awesome

🛑 THIS REPOSITORY IS OFFICIALLY NO LONGER UNDER MAINTENANCE since 10/02/2022 🛑

sqlite-provider Download Apache 2.0 Licence

A simplification of database access for Android.

Description

sqlite-provider implements a ContentProvider for you that allows database access using Uris The library is meant to augment the ContentProvider interface to fit SQLite in a more pronounced way. The aim is to set convention on queries via Uris.

Adding to your project

To start using this library, add these lines to the build.gradle of your project:

repositories {
    jcenter()
}

dependencies {
    compile 'com.novoda:sqlite-provider:2.0.0'
}

Upgrading from < 1.0.4

Please note the name change from sqliteprovider-core to sqlite-provider when the version went beyond 1.0.4 (all the way back in 2014!). If you're upgrading from a version that old, don't forget to change the name too!

Simple usage

Simple example source code can be found in this demo module: Android Simple Demo

Advanced queries & source code can be found in this demo module: Android Extended Demo

Links

Here are a list of useful links: