[
https://issues.apache.org/jira/browse/CB-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982364#comment-13982364
]
brian johnston commented on CB-6517:
------------------------------------
Windows 8 wants a URI with a single slash. Here's the work-around for now:
if (app.runningOnDevice('win32nt'))
callback(fileEntry.fullPath.replace('//','/'), fileName);
else
callback(fileEntry.toNativeURL(), fileName);
Also, for those of us using AngularJS, this issue was compounded by this
AngularJS issue:
http://stackoverflow.com/questions/23061164/windowsphone-8-and-angularjs-ng-src-not-working
> Windows 8 navigator.camera.getPicture image file issue
> ------------------------------------------------------
>
> Key: CB-6517
> URL: https://issues.apache.org/jira/browse/CB-6517
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows 8
> Affects Versions: 1.9.0
> Reporter: brian johnston
> Assignee: Jesse MacFadyen
>
> I see a possible related issue was resolved (CB-2736). Now I am not getting
> an error from window.resolveLocalFileSystemURI, but I can find no way to
> display the photo to the user in an HTML IMG tag. I've tried
> fileEntry.toNativeURL(), fileEntry.fullPath and fileEntry.toURL().
--
This message was sent by Atlassian JIRA
(v6.2#6252)