CouchDB的在Android [英] Couchdb on Android

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

问题描述

我想评价的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的目的是展示我所期待的。是否自动同步web应用和设备之间的待办事项的?

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?

另外,我怎么焦点couchapp到Android设备?

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

推荐答案

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

@Paul: regarding your last question

另外,我怎么焦点couchapp   到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推正因为你似乎是使用

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

焦点 couchone /对焦@ GitHub的 couchapp。否则couchapp.org提供AA不错教程

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

推进的应用程序到Android的CouchDB可以通过端口转发与 Android的调试桥,它随了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系统上使用亚行会打开一个终端,CDSDK目录和附带的工具/目录中的最简单的方法。从那里,你可以调用

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您的计算机上,并会被重定向到您的Andr​​oid设备上运行的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. 在您的手机连接:)

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

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