I am working on an Android project, the idea is simple: I just need to record the time the button was clicked. This part is flat and simple.
The problem is that I need to synchronize the data in real time (or at least with a very acceptable delay <= 5s). Plus, perhaps the device may lose the connection, so we also need this application to work offline.
To achieve this, I need to replicate the data, and couchdb seems to offer this.
So, I started testing a few examples:
But none of them work with these instructions . I mean that it works by making the apk file, the installation is successful, but when the application launches it, it works and does nothing.
I understand that CouchDB on Android works as follows:
- Install the CouchDB service, so several applications can use this service.
- My Android application should use the API to work with this CouchDB service by doing POST, GET, PUT, etc.
My question is:
- How to make work on examples above with API 2.0?
Update:
Possible link: https://groups.google.com/group/mobile-couchbase/browse_thread/thread/83816c0d0f1b050b
Update 2:
It seems that the problem in the processor version of all the tablets that I have is armv5.
Associated with the error: http://www.couchbase.org/issues/browse/CBMA-13
I have not tested arm7v cpu yet, but I will do it in a couple of hours.
Update 3:
I tested the application twice, but still not working with (ARM) armeabi-7va
Update 4:
I tested an example of a mobile futon on several devices:
- arm5v: test failure (emulator and real device), application market and own assembly.
- arm6v: test failure (real device), application market and native build.
- arm7v: test failure (emulator), application market and own assembly.
So many ways have failed that I'm so upset. And even if I manage to run couchdb in arm5v, I will have to deal with these basic errors 1 2 :