cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2419) On Windows 8, Camera.getPicture does not return file URI
Date Tue, 10 Dec 2013 01:36:08 GMT

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

ASF subversion and git services commented on CB-2419:
-----------------------------------------------------

Commit 2437c40fe7b20f2a8ef0a927de256575656cd750 in branch refs/heads/dev from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=2437c40 ]

CB-2442 CB-2419 Use Windows.Storage.ApplicationData.current.localFolder, instead of writing
to app package.


> 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.1.4#6159)

Mime
View raw message