cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Becker (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (CB-2419) On Windows 8, Camera.getPicture does not return file URI
Date Thu, 02 Apr 2015 14:28:55 GMT

     [ https://issues.apache.org/jira/browse/CB-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Don Becker updated CB-2419:
---------------------------
    Comment: was deleted

(was: What version is this issue resolved in?  Looking at the above commits, URL.createObjectURL()
is still called on the file before the callback is called.  The blobs are fine for displaying
the images that are selected via an <img>, but I am unable to copy the file from a Blob.)

> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message