You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/06/04 22:37:04 UTC

[jira] [Commented] (CB-5895) Should doc WP quirks with camera saveToPhotoAlbum

    [ https://issues.apache.org/jira/browse/CB-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018133#comment-14018133 ] 

Jesse MacFadyen commented on CB-5895:
-------------------------------------

It should, but in order to implement that a complete UI is required. This would mean localized assets and a who knows what other hidden extra issues+work.
Documenting the current behaviour is a good first step though.

> Should doc WP quirks with camera saveToPhotoAlbum
> -------------------------------------------------
>
>                 Key: CB-5895
>                 URL: https://issues.apache.org/jira/browse/CB-5895
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 2.6.0
>            Reporter: Marcel Kinard
>            Priority: Minor
>
> A customer was using navigator.camera.getPicture with {saveToPhotoAlbum: false} in the options. This was on WP7 and WP8, using Cordova 2.6. They stated that the photo was still being saved in the phone's camera roll, and they didn't think that should happen.
> I took a look at the source code for the camera plugin on WP, and the native code invokes Microsoft's CameraCaptureTask API. The MS doc for CameraCaptureTask states that it will always save the picture to the camera roll, and the only way to avoid that behavior is to use Microsoft's PhotoCamera API. I also looked at the Capture plugin, and it also uses CameraCaptureTask.
> http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006(v=vs.105).aspx
> So the Camera docs should include quirk verbage that the saveToPhotoAlbum option has no effect on WP7/WP8 and the picture will always be stored in the camera roll.
> Perhaps the native code could also log a warning if it is invoked with saveToPhotoAlbum==false.



--
This message was sent by Atlassian JIRA
(v6.2#6252)