Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80C6B18F6D for ; Thu, 29 Oct 2015 18:20:19 +0000 (UTC) Received: (qmail 51915 invoked by uid 500); 29 Oct 2015 18:20:19 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 51867 invoked by uid 500); 29 Oct 2015 18:20:19 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 51854 invoked by uid 99); 29 Oct 2015 18:20:18 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2015 18:20:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8431F1A2446 for ; Thu, 29 Oct 2015 18:20:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.149 X-Spam-Level: *** X-Spam-Status: No, score=3.149 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id G3ghdZieHvQH for ; Thu, 29 Oct 2015 18:20:13 +0000 (UTC) Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com [209.85.213.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id DE165215F9 for ; Thu, 29 Oct 2015 18:20:12 +0000 (UTC) Received: by vkfw189 with SMTP id w189so32402661vkf.2 for ; Thu, 29 Oct 2015 11:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=FOSk60lNABmY1oFBydWlvO2i1Qwb709wHipRfvWoP0M=; b=KWAjLXq13EZI1HcwNBzePSUKTTNl3BypEJX8/gKxTPzobgObw+iYspSWtco0xh1XfL c6jaXCaJ4NHgNEhqNtI1oBAbrqfT/OxMc5zsRSgGrAbG3VCAfBu/9gmozU6G0orEwq5a Jy6yYukDN+URqivCfero8n8Q5cFxtfYq9EAJ/Km5760+M4Utn0+Be8bM4NaXbyhwr6kk TH39oqIUHYSYSxxKsZJLleK6dLNbqzNMbvbG+vB11trJWWayDKcUzvlUTdpyINoO4a2w 4a4Q1SusC1eokJmCivERVT2AF37t+vUbASnOCmm2VEO9p/GyMeynfBWGWgYzK/2k2vXC UnQw== X-Received: by 10.31.170.151 with SMTP id t145mr2112002vke.31.1446142806107; Thu, 29 Oct 2015 11:20:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Carlos Santana Date: Thu, 29 Oct 2015 18:19:56 +0000 Message-ID: Subject: Re: [Android] Possible solution to Camera/Media To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a1142d8e240ad760523425c4c --001a1142d8e240ad760523425c4c Content-Type: text/plain; charset=UTF-8 Thanks Joe, this is very good area to improve, with mobile OS being more aggressive on saving battery and giving less time to processes on the background the problem will show in the wild more often, so having a clean way to restore state is good way to move forward. On Thu, Oct 29, 2015 at 12:37 PM Richard Knoll wrote: > Hey everyone, > > I just wanted to update this thread with a link to the PR I submitted as a > proposed solution to this issue. Just making sure that people are aware > that there is some discussion taking place in Github about this problem: > > https://github.com/apache/cordova-android/pull/236 > > Thanks, > Richard > > -----Original Message----- > From: Joe Bowser [mailto:bowserj@gmail.com] > Sent: Tuesday, October 27, 2015 10:31 PM > To: dev > Subject: [Android] Possible solution to Camera/Media > > Hey > > I just saw this solution to the Android restart issue that we've been > fighting for the last few years. It's a bit of a hack using the Activity > preferences in this way, but this solution definitely has its merits. > > Can people check out CB-8917 and let me know what you think of this > possible solution? I think it's better than checking for temporary files, > or some other weirdness on the file system. What do you think? > > Also, on a related note, we should really document the CoreAndroid > Javascript API. > > Joe > --001a1142d8e240ad760523425c4c--