Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 11733 invoked from network); 11 Sep 2010 16:14:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Sep 2010 16:14:07 -0000 Received: (qmail 36316 invoked by uid 500); 11 Sep 2010 16:14:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 36230 invoked by uid 500); 11 Sep 2010 16:14:05 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 36222 invoked by uid 99); 11 Sep 2010 16:14:04 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 16:14:04 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 16:13:41 +0000 Received: by pwi6 with SMTP id 6so2883184pwi.11 for ; Sat, 11 Sep 2010 09:13:19 -0700 (PDT) Received: by 10.142.223.17 with SMTP id v17mr1108215wfg.36.1284221599700; Sat, 11 Sep 2010 09:13:19 -0700 (PDT) Received: from [10.0.1.2] (c-24-130-240-73.hsd1.ca.comcast.net [24.130.240.73]) by mx.google.com with ESMTPS id s34sm5132198wfc.20.2010.09.11.09.13.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 09:13:18 -0700 (PDT) Sender: J Chris Anderson Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: android couchdb: how are you using it ? From: J Chris Anderson In-Reply-To: <81d5a48d-a019-4020-b0ab-e3494ef34eed@HUB01.4emm.local> Date: Sat, 11 Sep 2010 09:13:15 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <2C90FEA3-E135-4A7E-A23A-9FE495F676EA@apache.org> References: <81d5a48d-a019-4020-b0ab-e3494ef34eed@HUB01.4emm.local> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 11, 2010, at 2:04 AM, Dennis Geurts wrote: >=20 >=20 > Hi sam, >=20 > The android apps i created up to now (internal hobby projects) all = connect to couchdb @127.0.0.1.=20 >=20 > Via replication, i preload the database from a remote instance. >=20 > The documents i add to the local instance can also be replicated back = to the remote instance. For now, i use a basic httpclient, add = authentication. This is hardcoded for now, but i am considering to use = the accountmanager for that. >=20 > If you want, you can also make couchdb listen on all interfaces, just = mount your sdcard, and edit local.ini as you would on a normal pc.=20 >=20 You can also make this change in Futon if you browse to it in a desktop = browser via the android tools port-forwarding. Once you open to all = interfaces, just point any browser (also couchapp push) at your phone's = IP address. Obviously we need to fixup Futon to be mobile friendly (then you could = config this from the phone browser directly). I think Mikeal has started = on this work. Chris > I wouldn't rely on that in apps, though since you cannot expect people = installing your app to do the same, too. >=20 >=20 > Cheers, dennis >=20