Couchdb on Android(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
- 从市场上安装并运行 CouchDB
- 在您的手机上启用调试
- 已连接您的手机:)
这篇关于Android 上的 Couchdb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android 上的 Couchdb


- android 4中的android RadioButton问题 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01