Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

ToDoLite-Android

> 编程语言
Open source

To-Do list sample app for Couchbase Lite, native Android version

186 stars0 likes2 views
WebsiteGitHub

About

To-Do list sample app for Couchbase Lite, native Android version

**This repository is in the process of being deprecated. See the Android TODO app in the training documentation for a more up-to-date sample.

ToDo Lite for Android

A shared todo app that shows how to use 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.

Get the code

$ git clone https://github.com/couchbaselabs/ToDoLite-Android.git
$ cd ToDoLite-Android

Build and run the app

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

Point to your own Sync Gateway

  1. Download Sync Gateway.

  2. Start Sync Gateway with the configuration file in the root of this project.

    bash
    ~/Downloads/couchbase-sync-gateway/bin/sync_gateway sync-gateway-config.json
  3. Open Application.java and update the SYNC_URL_HTTP constant to point to your Sync Gateway instance.

    java
    private static final String SYNC_URL_HTTP = "http://localhost:4984/todolite";

    You can use the adb reverse tcp:4984 tcp:4984 command to open the port access from the host to the Android emulator. This command is only available on devices running android 5.0+ (API 21).

  4. Log in with your Facebook account.

  5. Add lists and tasks and they should be visible on the Sync Gateway Admin UI on http://localhost:4985/_admin/.

Community

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

License

Released under the Apache license, 2.0.

Copyright 2011-2014, Couchbase, Inc.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言