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 33F68920A for ; Thu, 3 May 2012 02:28:12 +0000 (UTC) Received: (qmail 84519 invoked by uid 500); 3 May 2012 02:28:12 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 84478 invoked by uid 500); 3 May 2012 02:28:12 -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 84468 invoked by uid 99); 3 May 2012 02:28:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 02:28:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 02:28:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1630742C108 for ; Thu, 3 May 2012 02:27:48 +0000 (UTC) Date: Thu, 3 May 2012 02:27:48 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1949422086.20120.1336012068092.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <232061504.23283.1334344696692.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-506) images taken via Camera.getPicture do not get deleted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-506: -------------------------------- Component/s: WP7 BlackBerry Android Added all platforms to the discussion. All platforms need to discuss adding a clean() method or something to that effect to fix this. Note: devs can use the File APIs to clean this up, but it will be better if we provide a convenience function, if not in native, then in JS. > images taken via Camera.getPicture do not get deleted > ----------------------------------------------------- > > Key: CB-506 > URL: https://issues.apache.org/jira/browse/CB-506 > Project: Apache Callback > Issue Type: Bug > Components: Android, BlackBerry, iOS, WP7 > Affects Versions: 1.6.0 > Reporter: Becky Gibson > Assignee: Shazron Abdullah > > images taken with camera.getPicture are stored in the temporary directory. There is code in applicationWillTerminate to delete the temporary directory. However, in a multitasking app this method is never called. The contents of this directory do not get backed up, but it is also not getting deleted. Seems like the only solution is to require the developer to clean out the temp directory since they know when it is appropriate to do so. We can leave the code in applicationWillTerminate for apps which set UIApplicationExistsOnSuspend in the plist since it IS called. > Could discuss adding a method to Camera to do clean up rather than requiring devs. to use the File api's. Will need to negotiate with other platforms to see if this makes sense. Will add a dependency in Camera to File Plugin. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira