是否有可能使用沙发DB或MySQL或其他数据库中的Andr​​oid? [英] Is it possible to use Couch DB or MySql or any other DB in Android?

查看:164
本文介绍了是否有可能使用沙发DB或MySQL或其他数据库中的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们知道,Android使用SQLite作为其默认数据库。我的问题是:是否有可能通过CouchDB的或MySQL或任何其他数据库替换此并成功运行了吗?有没有人这样做呢?我通过<一去href="http://stackoverflow.com/questions/8399070/what-are-requirements-to-use-couchdb-on-android">What都要求在Android上使用CouchDB的?,并在这样的其他问题,但我不完全清楚的。它似乎可以在Android 上Android"> CouchDB的安装

We know that Android uses SQLite as its default database. My question is: Is it possible to replace this by CouchDB or MySql or any other database and successfully run it? Has anybody done this? I went through What are requirements to use CouchDB on Android?, and other questions in SO, but I'm not completely clear about it. It does seem possible to install CouchDB on Android, but as an app. I want to know if it's possible to replace SQLite with Couch or MySql or any other DB.

任何帮助将是非常美联社preciated。提前致谢。

Any help will be highly appreciated. Thanks in advance.

推荐答案

您确实可以在Android上使用CouchDB的。

You can indeed use CouchDB on Android.

下面是一个视频讨论的CouchDB http://www.youtube.com/watch?v=3RdcKWYGqig

Here's a video discussing CouchDB http://www.youtube.com/watch?v=3RdcKWYGqig

您将需要一个外置SD卡。它作为服务运行,这样你就可以使用CouchDB的多个应用程序。它也有惊人的复制能力。所以,如果你需要与主数据库同步,然后CouchDB的使这很容易。

You will need an external SD card. It runs as a service so you can have multiple apps using CouchDB. It also has amazing replication capabilities. So if you need to sync with a master database then COuchDB makes this very easy.

目前在这个答案 http://stackoverflow.com/a/4956789/808940

也有一些教程可在网上,但要开始,你可以从Android市场下载应用程序的CouchDB上。

There are also some tutorials available on the web but to get started you can download the CouchDB app from Android Marketplace.

这篇关于是否有可能使用沙发DB或MySQL或其他数据库中的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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