incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Becky Gibson <gibson.be...@gmail.com>
Subject Re: Camera API extension proposal: offer saving to photo album
Date Fri, 11 May 2012 18:11:09 GMT
Never fails that I think of something else as soon as I press send!
Currently iOS does not save an image scaled via the provided options - it
just saves the image file returned from the camera.

On Fri, May 11, 2012 at 2:08 PM, Becky Gibson <gibson.becky@gmail.com>wrote:

> 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 <fil@adobe.com> 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)?
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message