Skip to content

jhoobergs/ToDoLite-Android

 
 

Repository files navigation

ToDo Lite for Android

Join the chat at https://gitter.im/couchbase/couchbase-lite-java-core

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.

screenshot

Prequisites

Get the code

$ git clone https://github.com/couchbaselabs/ToDoLite-Android.git
$ cd ToDoLite-Android
$ git submodule init && git submodule update

Build and run the app

  • Import the project into your Android Studio by selecting build.gradle or settings.gradle from the root of the project.
  • Run the app using the "play" or "debug" button.

Run the Unit Tests

See Running Unit Tests for Couchbase Lite Android for instructions.

Point to your own Sync Gateway (Optional)

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

Community

If you have any comments or suggestions, please join our mailing list and let us know.

License

Released under the Apache license, 2.0.

Copyright 2011-2014, Couchbase, Inc.

Packages

No packages published

Languages

  • Java 100.0%