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 5ED9C988D for ; Fri, 11 May 2012 18:08:36 +0000 (UTC) Received: (qmail 23174 invoked by uid 500); 11 May 2012 18:08:36 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 23147 invoked by uid 500); 11 May 2012 18:08:36 -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 23133 invoked by uid 99); 11 May 2012 18:08:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 18:08:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gibson.becky@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-yx0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 18:08:29 +0000 Received: by yenl13 with SMTP id l13so2358793yen.6 for ; Fri, 11 May 2012 11:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zEcHxz3SqCtWJNiFv2KlnZEyx/XZ1joAIEwkTcFCzV8=; b=L7FUOZawQjrbt+3hM1nYDfU7JSOg9EdtJ8LsuqscJ1RHrOSSTyeKAqQHuF0KdOrDGW o/p+B1T763oI4Ie+10nlockwwBE6x97KlKePVD4TyqYHyhbSfugFRAIbJ5NXsqNz2F9n iKpQtzOurV3bhozv6oEwndWj93KMWpn0JSOFA2LpzUoZUMsQjjRqR2/0tYkX63GPmUX0 rlOAwmS+CCch+tHF3pCA4lKAAUGq8RhrFIyRr3aOJicV6KRdw6V44IYx+LpScJZKepRw FSSGgTV6mbNUADxOZBwkgMJTeAI1HoL6eL0WnBOy88c7VEe/Fa7oq5OcFpYnoUqTogkc iB8Q== MIME-Version: 1.0 Received: by 10.236.175.39 with SMTP id y27mr11821912yhl.9.1336759689173; Fri, 11 May 2012 11:08:09 -0700 (PDT) Received: by 10.146.2.11 with HTTP; Fri, 11 May 2012 11:08:09 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 May 2012 14:08:09 -0400 Message-ID: Subject: Re: Camera API extension proposal: offer saving to photo album From: Becky Gibson To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf305b0e186c5a9b04bfc69ea9 X-Virus-Checked: Checked by ClamAV on apache.org --20cf305b0e186c5a9b04bfc69ea9 Content-Type: text/plain; charset=ISO-8859-1 What api are we talking about - Camera or Capture. Since Capture is W3C I assume we are talking about Camera? For iOS: >1. Do images already get saved in some form to the device's gallery /photo album app? Not by default but Camera.getPicture() for iOS already has an option and code for saving still images (which is all you get in Camera api) to the Photo Album. >2. If not, can it be done? N/A >3. Are there other methods that one can employ to mimic this behavior(perhaps using File API, for example)? Via existing Cordova JavaScript apis? No. There is a iOS bug open (https://issues.apache.org/jira/browse/CB-248) because the *Capture* api DOES save to the PhotoAlbum for still images but not for video. Someone would like us to add saving video to the photo album as well. I don't think the other platforms save to the PhotoAlbum so technically the fact that it does save still images is a bug in iOS but I didn't want to take saving out once it have been in an official release. Also, there is commented out code to save a captured video - I commented it out because I thought it was happening automagically but turns out that is not the case. -becky On Fri, May 11, 2012 at 1:31 PM, Filip Maj wrote: > https://issues.apache.org/jira/browse/CB-752 > > > Thoughts on extending the API so we can specify to save it to photo album? > > Sounds like Android already does this automatically to an extent (with > some restrictions, see issue thread above for details as provided by > Simon). > > What about other platforms? webOS / Bada / WP7 / iOS / BlackBerry > webworks? Assuming this is considered a good idea, further questions to be > answered: > > 1. Do images already get saved in some form to the device's gallery / > photo album app? > 2. If not, can it be done? > 3. Are there other methods that one can employ to mimic this behavior > (perhaps using File API, for example)? > > --20cf305b0e186c5a9b04bfc69ea9--