Android 上的 Couchdb [英] Couchdb on Android

查看:20
本文介绍了Android 上的 Couchdb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试评估 couchdb 及其解决 Android 上的同步问题的潜力,但我找不到任何文档来回答我关于如何复制到 Android 设备的问题.

I am trying to evaluate couchdb and its potential for solving the sync problem on Android but I can't find any documentation that answers my questions regarding how replication to Android devices works.

看起来焦点 todolist couchapp 旨在展示我在寻找什么.它会在 webapp 和设备之间自动同步待办事项吗?

It looks like the focus todolist couchapp is intended to demonstrate what I am looking for. Does it automatically sync todo's between webapp and device?

另外,如何将 focus couchapp 安装到 Android 设备上?

Also, how do I get the focus couchapp onto the Android device?

推荐答案

@Paul:关于你的最后一个问题

@Paul: regarding your last question

另外,我如何获得焦点沙发应用程序到 Android 设备上?"

Also, how do I get the focus couchapp onto the Android device?"

上面发布的视频链接中提到了,但为了缩短其他人搜索相同内容的内容:

It is mentioned in the video link posted above, but to shorten things for others searching the same matter:

我假设您知道 couchapp push 是如何工作的,因为您似乎正在使用

I assume you know how couchapp push is working since you seem to be using the

焦点"couchone/Focus@github 沙发应用程序.否则,couchapp.org 会提供一个不错的 教程.

"focus" couchone/Focus@github couchapp. Otherwise couchapp.org provide a a nice tutorial.

可以使用 Android Debug 端口转发将应用推送到 Android couchdbBridge ,随 Android SDK 提供.

Pushing apps to Android couchdb can be done via port-forwarding with the Android Debug Bridge , which is shipped with the Android SDK.

在类 unix 系统上,使用 adb 最简单的方法是打开一个终端,cd"到 sdk 目录和包含的tools/"目录.从那里你可以打电话

On unix like systems the easiest way to use adb would be to open a terminal, "cd" to the sdk directory and to the included "tools/" directory. From there you could call

./adb forward tcp:5985 tcp:5984

这基本上可以让您在计算机上访问localhost:5985",并将被重定向到在您的 android 设备上运行的 couchdb.假设你有

Which will basically enable you to go to "localhost:5985" on your computer and will be redirected to the couchdb running on your android device. Assuming that you have

  1. 从市场上安装并运行 CouchDB
  2. 在您的手机上启用调试
  3. 已连接您的手机:)

这篇关于Android 上的 Couchdb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆