incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ajai Khattri <>
Subject Re: Android with Remote Couch
Date Thu, 15 Sep 2011 12:27:59 GMT
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 to the couch is to get the session data with
> couch.js. I'm getting an Ajax error from jQuery while querying the
> couch:
> TypeError: Result of expression 'resp' [null] is not an object at
> jquery.couch.js:81
> I think the javascript files have to be local to the app, but that
> means couch.js cannot talk to the remote couch due to cross-domain
> restrictions. A local javascript file cannot talk to a remote script.
> How are you guys talking to your hosted couch from Android? Are you
> using couch.js or another method?
> Many Thanks,
> Marcus

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message