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

Don Becker commented on CB-2419:
--------------------------------

It looks like this was only changed when using Camera.PictureSourceType.CAMERA. 
 If you use Camera.PictureSourceType.PHOTOLIBRARY or 
Camera.PictureSourceType.SAVEDPHOTOALBUM a Blob is still returned rather than a 
file uri.

> On Windows 8, Camera.getPicture does not return file URI
> --------------------------------------------------------
>
>                 Key: CB-2419
>                 URL: https://issues.apache.org/jira/browse/CB-2419
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera, Windows 8
>    Affects Versions: 2.4.0
>            Reporter: Youval Bronicki
>            Assignee: Jesse MacFadyen
>
> The camera.getPicture method returns a blob: URI when a File URI is requested.
> I've been able to tweak it to my needs by changing:
> {{_imageUrl = URL.createObjectURL(storageFile);}}
> to:
> {{var _imageUrl = storageFile.path;}}
> However the result is not strictly speaking a FILE URI, so that may not be 
> the preferred solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to