What are requirements to use CouchDB on Android?

纵饮孤独 提交于 2020-01-28 06:05:07

问题


I'd like to know the requirements to use CouchDB on Android. I've found an example application and the MobileFuton.

Can CouchDB be used without having an external storage and is it usable on low-end devices as it is said to have a large memory and storage footprint?

Please note the related CouchDB Forum Thread


回答1:


External storage (an SD card) is required for Couchbase for Android. I missed this and didn't have one configured on my emulator. Took me a bit to figure out that was the problem.

My application is big (for mobile standards). It weighs in at 15 Mb. I am using Ektorp (CouchDB JPA like abstraction) which has several dependencies, one which requires a separate Apache HttpClient version (used "jarjar links" to prevent conflicts with the Android shipped HttpClient version). The EmptyApp available from the link below weighs in at 10 Mb.

If size isn't a requirement, I'd recommend it. Development was an absolute dream.

This is the best tutorial I found on setting it up: http://www.couchbase.com/wiki/display/couchbase/Android



来源:https://stackoverflow.com/questions/8399070/what-are-requirements-to-use-couchdb-on-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!