问题
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