Questions tagged [touchdb]

TouchDB (now named Couchbase Lite) is a lightweight Apache CouchDB-compatible database engine suitable for embedding into mobile or desktop apps.

TouchDB is a lightweight Apache CouchDB-compatible database engine suitable for embedding into mobile or desktop apps. Supports both Apple iOS and Google Android.

TouchDB is now called "Couchbase Lite."

33 questions
46
votes
4 answers

Confused on how to use CouchDB on Android

I want to get CouchDB running as the backend for my mobile app, replacing SQlite. I have been incredibly confused as a newcomer to this technology because, in addition to all of similar sounding products released by Couchbase last year(Couchbase,…
Jonathan
  • 5,495
  • 4
  • 38
  • 53
7
votes
1 answer

Cost of continuous replications vs one-shot replications (using TouchDB and Cloudant)

We have an app that uses Cloudant as a remote server. Nevertheless, Cloudant is not completely compatible with TouchDB's continuous replications from previous experience. So our alternative for now is to trigger manually one-shot replications at a…
airpaulg
  • 565
  • 3
  • 13
4
votes
4 answers

Difference between couchbase and couchbase lite? [Previously called as touchDB]

What is Couchbase and what is Couchbase Lite? Is there any difference between the two? How could I create Couchbase lite in mobile and how could I communicate to a server?
Chinna
  • 71
  • 1
  • 4
4
votes
1 answer

How to call invalidate() late on ViewPager

I'm using TouchDB to replicate a DB and display its contents in a series of ListViews in a ViewPager. The problem I'm having is that on the first replication TouchDB calls it's onSuccess()/onPostExecute() methods before it's finished replicating,…
KingFu
  • 1,358
  • 5
  • 22
  • 42
4
votes
2 answers

How do I sync my Android application with Couchbase Server?

I am struggling to differentiate between all of the different couch* technologies that are out there. I've been flip-flopping between using CouchDB and using Couchbase Server for an Android game that I'm developing and the lack of documentation is…
SemperFly
  • 1,563
  • 3
  • 17
  • 31
3
votes
2 answers

Gradle: Project "x" not found in root project "myProject"

Having upgraded to Android Studio from Eclipse I wanted to update my TouchDB library which is now Coubasebase-lite-android. I removed TouchDB from my project, git cloned couchbase-lite-android added to my project in Android Studio via File -> Import…
KingFu
  • 1,358
  • 5
  • 22
  • 42
3
votes
1 answer

How can I embed TouchDB in a phonegap html5 app?

Basically I want the sync feature of CouchDB while developing with HTML5 and package the app with phonegapp. I see that couchbase mobile has a few drawbacks(large code size, long startup time) and TouchDB seems promising. However, I can't find an…
blurrcat
  • 1,278
  • 13
  • 23
1
vote
1 answer

Duplicate symbol error when using TouchDB and FMDB wrapper together

In my app I'm storing data using TouchDB. I've added TouchDB.framework, everything worked fine. Then I had to work with a sqlite database in the same application, and as I'm accustomed with FMDB wrapper, I added it to the project. On build I…
iOS Dev
  • 4,143
  • 5
  • 30
  • 58
1
vote
1 answer

View TouchDB mobile database in desktop

I launch TouchDB database from my iOS application. It works as http server via TouchDB framework class - TDListener and it provide REST API for external access. How can I view database from my desktop? Are there some frontend applications which can…
1
vote
1 answer

Replication from CouchDB to TouchDB

I could able to replicate .touchDB with CouchDB and sync data. But i could not able to replicate from CouchDB to touchDB. Can any one please explain how to do that. Thanks Chinna
1
vote
2 answers

TouchDB - CouchbaseLite Libraries?

I have decided to made my application using TouchDB for Android, which is the light version of CouchDB for Mobile Platform. I am able to find sample projects for this on the github but I did not find all the libraries needed for implementing TouchDB…
Master
  • 2,945
  • 5
  • 34
  • 65
1
vote
1 answer

jquery in iOS 6 UIWebView losing POST request body when sending to TouchDB

I have a legacy app I'm upgrading with TouchDB. The app uses a UIWebView which contains a javascript page which reads and writes to the app's TouchDB database via touchdb:// get and post requests through query $.ajax(...) calls. Get requests return…
drekka
  • 20,957
  • 14
  • 79
  • 135
1
vote
1 answer

How do I avoid getting out-of-memory errors when compiling TouchDB for Android?

I'm trying to use TouchDB for Android but when I try to compile the sample project or make one myself, it says it couldn't compile the dex because it ran out of memory or exceeded the heap size. Then Eclipse crashes, yada yada yada I end up waiting…
Nick
  • 451
  • 4
  • 10
1
vote
1 answer

Distribute preloaded TouchDB database for iOS

I'm using TouchDB on an app to synchronize data with a CouchDB server on the cloud. Everything is working fine, but I need to now deploy a preloaded version of the app with the app bundle, so the user doesn't have to download MBs of static data.…
Eduardo Scoz
  • 24,653
  • 6
  • 47
  • 62
0
votes
3 answers

Couchdb - is it possible to "disreplicate" a replicated document

I am designing a system that will use CouchDB and TouchDB\CloudantSync to cache the database on the users' smartphone using replication. Now Let's say I have 1000s of documents, each has a 100Kb attachment, and I want to free some space on the…
Oren
  • 2,767
  • 3
  • 25
  • 37
1
2 3