From user-return-18576-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Oct 28 01:57:49 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE3789AAB for ; Fri, 28 Oct 2011 01:57:48 +0000 (UTC) Received: (qmail 97179 invoked by uid 500); 28 Oct 2011 01:57:47 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97144 invoked by uid 500); 28 Oct 2011 01:57:47 -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 97136 invoked by uid 99); 28 Oct 2011 01:57:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 01:57:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 01:57:42 +0000 Received: by qyk10 with SMTP id 10so4785365qyk.11 for ; Thu, 27 Oct 2011 18:57:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.69.136 with SMTP id z8mr144225qci.142.1319767041459; Thu, 27 Oct 2011 18:57:21 -0700 (PDT) Received: by 10.229.1.234 with HTTP; Thu, 27 Oct 2011 18:57:21 -0700 (PDT) In-Reply-To: <5C8FD24B-EE4D-4841-A097-072015D8C840@couchbase.com> References: <5C8FD24B-EE4D-4841-A097-072015D8C840@couchbase.com> Date: Fri, 28 Oct 2011 02:57:21 +0100 Message-ID: Subject: Re: Deployment of populated couch database to mobile From: Dale Harvey To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e649b89eb1473804b0523570 --0016e649b89eb1473804b0523570 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You probably want to look at the source for the mobile futon app in the android market, it is a web app, with couch embedded, and bootstraps a database (and configuration) https://github.com/daleharvey/Android-MobileFuton pretty much all the code needed is in https://github.com/daleharvey/Android-MobileFuton/blob/master/src/com/daleh= arvey/mobilefuton/MobileFutonActivity.java Cheers Dale On 25 October 2011 20:55, Jens Alfke wrote: > > On Oct 25, 2011, at 8:02 AM, Wordit wrote: > > I have a web app I want to deploy to Android. It will remain a web > app, *not* native Java (thanks to the virtues of Phonegap). > > I suggest asking this on the mobile-couchbase Google group < > http://groups.google.com/group/mobile-couchbase>, where the folks > knowledgeable about the Android build hang out. (I work on the iOS versio= n.) > > - CouchDB for Android is intended for native access via Java, At least > from looking at: =85 Or can I use javascript to access the couch on the > Android device? > > I know there=92s been some work on integrating CouchDB into PhoneGap, but= I > don=92t know the current status. > > - Asking users to install CouchDB, or mobile futon, separately is a > dependency which will turn many users away > > It=92s not a separate install. You=92d build CouchDB / Couchbase Mobile i= nto > your app. > > - Even passing the above obstacles, the db would need to be populated > on the first run > > I know this can be done on iOS and I=92m pretty sure it can be on Android > too. > > =97Jens > --0016e649b89eb1473804b0523570--