百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

ToDoLite-Android

> 编程语言
开源

Couchbase Lite 的待办列表样本应用程序, 原生Android版本

186 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Couchbase Lite 的待办列表样本应用程序, 原生Android版本

**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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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