You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/04/03 21:13:15 UTC
[jira] [Commented] (CB-6345) No installed handlers for this URL
when using 'resolveLocalFileSystemURL'
[ https://issues.apache.org/jira/browse/CB-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959099#comment-13959099 ]
Ian Clelland commented on CB-6345:
----------------------------------
CB-6394 Also exposes the sdcard filesystem on Android, so camera file URLs should be resolvable regardless of where they are stored, once that is committed.
> No installed handlers for this URL when using 'resolveLocalFileSystemURL'
> -------------------------------------------------------------------------
>
> Key: CB-6345
> URL: https://issues.apache.org/jira/browse/CB-6345
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin File
> Affects Versions: 3.4.0
> Environment: Android 4.4.x, cordova-plugin-camera v 0.2.8, cordova-plugin-file v 1.01
> Reporter: David Pesce
> Assignee: Ian Clelland
>
> After taking a picture, the imageURI that is returned cannot be handled by window.resolveLocalFileSystemURL.
> {code}
> function movePhoto(imageURI){
> console.log("Image URI:"+ imageURI)
> window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
> }
> {code}
> console displays:
> file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
> resOnError is always called with an encoding error (5).
--
This message was sent by Atlassian JIRA
(v6.2#6252)