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

Carlos Santana commented on CB-5895:
------------------------------------

Should the capture plugin for WP8 should support the PhotoCamera API? (We can 
log it as a enhancement issue request)
I would like to hear from [~purplecabbage] to see what he thinks.


> 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.1.5#6160)

Reply via email to