Re: Android with Remote Couch

2011-09-15 Thread Ajai Khattri
You might be better off asking on the PhoneGap list? On Thu, Sep 15, 2011 at 8:40 AM, Wordit wrote: > On Thu, Sep 15, 2011 at 2:27 PM, Ajai Khattri wrote: > > > > Sorry are you writing a web app that runs locally? > > It's an Android app which needs to query

Re: Android with Remote Couch

2011-09-15 Thread Ajai Khattri
Sorry are you writing a web app that runs locally? On Sep 14, 2011 9:16 PM, "Wordit" wrote: > I need a bit of help accessing my hosted couch from Android please. > Where should couch.js be? Locally inside the Android app, or on the > remotely hosted server where the db is? > > My first XHR query

Re: Android with Remote Couch

2011-09-13 Thread Ajai Khattri
That should be all you need unless your app needs to read local data (e.g. contacts) or location or sensor info, etc. On Tue, Sep 13, 2011 at 4:38 AM, Wordit wrote: > Thanks, Scott and Ajai, are there any permissions or user interactions > necessary apart from the basic Internet permission belo

Re: Android with Remote Couch

2011-09-12 Thread Ajai Khattri
Yes, its not a problem to consume a web service from a native Android app. On Sep 12, 2011 11:56 AM, "Wordit" wrote: > Does anyone know whether a hosted (remote couch) is accessible from an > Android app, via an XHR call? I mean from a native Android app, not > via the web browser, which should w

Re: binaries for OSX ?

2011-08-18 Thread Ajai Khattri
You could always install Homebrew and then use that to built and install couchdb. http://mxcl.github.com/homebrew/ On Wed, Aug 17, 2011 at 12:45 PM, Jens Alfke wrote: > > On Aug 17, 2011, at 4:04 AM, Anh wrote: > > It's nice on its own, but when your shop uses CouchDB, CouchDBX was > very, very

Re: Limit on the number of databases?

2011-05-26 Thread Ajai Khattri
Since we're discussing large numbers of mobile clients: would it be possible to do replication in "batches" from a client (i.e. not immediately) so that server resources are not continuously tied up? On another project Ive worked on where syncing from mobile clients was involved, we developed

Re: Limit on the number of databases?

2011-05-26 Thread Ajai Khattri
On Thu, 26 May 2011, Glenn Bech wrote: > I just want to ask if there are limits on the number of databases in Couch. > I am playing around with embeded Couch on Android and are thinking in the > line of having > one database per user, and use replication to push data from the client to > the serve

Re: Multiple instances on one machine

2011-05-17 Thread Ajai Khattri
On Tue, 17 May 2011, Clare Walsh wrote: > Ah, thank you, I haven't started couch that way before. > It says it's started it... but I still can't make requests to it and > there are no logs generated. > I imagine it's because I'm doing something else stupid? > > sudo /usr/local/bin/couchdb -a cou

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Ajai Khattri
On Sun, 8 May 2011, Andrew Stuart (SuperCoders) wrote: > What language did you build this functionality in? What do you mean > by "couchdb external process"? Either some process started from a web service or the server-side script itself probably? You could probably write this in Ruby, Python

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Ajai Khattri
Im working on a similar app. I imagine you could write a web service that your app connects to, that creates the database on your db server. On May 7, 2011 1:48 AM, "Andrew Stuart (SuperCoders)" < andrew.stu...@supercoders.com.au> wrote: > Hi, > > The app I am designing needs to create an individu