A shared todo app that shows how to use the uses the Couchbase Lite Android framework to embed a nonrelational ("NoSQL") document-oriented database in an Android app and sync it with Couchbase Server in a public or private cloud.
The app is available for download in Google Play.
$ git clone https://github.com/couchbaselabs/ToDoLite-Android.git
$ cd ToDoLite-Android
$ git submodule init && git submodule update
- Import the project into your Android Studio by selecting
build.gradle
orsettings.gradle
from the root of the project. - Run the app using the "play" or "debug" button.
See Running Unit Tests for Couchbase Lite Android for instructions.
By default, the app is pointed to a Sync Gateway instance hosted by Couchbase on a demo server.
If you want to user your own Sync Gateway instance, you can change the URL in the SYNC_URL
variable to point to your instance. You'll want to use the following Sync Gateway Config
If you have any comments or suggestions, please join our mailing list and let us know.
Released under the Apache license, 2.0.
Copyright 2011-2014, Couchbase, Inc.