Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D656C9233 for ; Mon, 27 Feb 2012 19:40:50 +0000 (UTC) Received: (qmail 1628 invoked by uid 500); 27 Feb 2012 19:40:50 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 1609 invoked by uid 500); 27 Feb 2012 19:40:50 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 1601 invoked by uid 99); 27 Feb 2012 19:40:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 19:40:50 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.39 as permitted sender) Received: from [64.18.1.39] (HELO exprod6og117.obsmtp.com) (64.18.1.39) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2012 19:40:43 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKT0vcJVEcjalJwmoFKeXBqsLTlxNz50UG@postini.com; Mon, 27 Feb 2012 11:40:22 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q1RJeKN3007271 for ; Mon, 27 Feb 2012 11:40:20 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q1RJeJPl008836 for ; Mon, 27 Feb 2012 11:40:20 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Mon, 27 Feb 2012 11:39:05 -0800 From: Filip Maj To: "callback-dev@incubator.apache.org" Date: Mon, 27 Feb 2012 11:39:02 -0800 Subject: Re: Changes to requesting a PERSISTENT file system in Cordova-Android Thread-Topic: Changes to requesting a PERSISTENT file system in Cordova-Android Thread-Index: Acz1h3aYhp4hWH7zQ6+UTy2Fhbmwtw== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure if it needs to go to vote... Maybe if there is enough contention on the topic? How about let's revert the temp/persistent resolution on android to what it was before (if it hasn't already been done) so we don't freak users out. Then let's use this thread to figure out the details of how it *should* be done on Android. Once we have it figured out, document on wiki and put it in the roadmap (is that the place to document these sorts of api changes?) On 12-02-27 6:06 AM, "Simon MacDonald" wrote: >But I guess the immediate question is do we want to make this change for >1.5 or publicize we are making the change for a future release? Does this >need to go with a vote? > >Simon Mac Donald >http://hi.im/simonmacdonald > > >On Wed, Feb 22, 2012 at 5:27 PM, Filip Maj wrote: > >> This is a good discussion to have. Blindly following a spec never gets >>you >> 100% where you want to go. >> >> Instead: what are reasonable storage options that as a developer using >> cordova you would like to see? Once that is decided on, define a simple >> spec for each of the options. >> >> So for the first question, in my mind having an idea of a "temporary" >> storage space - like Joe said, volatile memory - and "persistent" seem >> like two good options. >> >> Then, for simple constraints around the two options: >> >> To me, persistent is: data that I write to a persistent location is >> available across device restarts and will not be removed unless my >> application explicitly removes it (barring exceptional circumstances >>such >> as a device factory reset). The Android "Jail" is, for me, a good >> candidate to be considered the persistent storage location. A removable >> storage type such as an SD or media card is, in my mind, not a candidate >> to "persistent" storage. >> >> For temporary storage, the restrictions are much less. Figuring out any >> minimum time frames for how long a temporary storage location exists >>seems >> important. Should temporary storage be guaranteed across device >>restarts? >> Probably not. What about across application restarts? I'm not sure - I >> would say no, not guaranteed. Within an application session? I think so. >> >> Etc. etc. :) >> >>