heyibrahimkhan / sqlite-provider

Extended SQLite functionality for Android

Home Page:Http://novoda.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlite-provider

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:

  • We always welcome people to contribute new features or bug fixes, here is how
  • If you have a problem check the Issues Page first to see if we are working on it
  • For further usage or to delve more deeply checkout the Project Wiki
  • Looking for community help, browse the already asked Stack Overflow Questions or use the tag: support-sqlite-provider when posting a new question

About

Extended SQLite functionality for Android

Http://novoda.com

License:Other


Languages

Language:Java 100.0%