cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pesce (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-6345) No installed handlers for this URL when using 'resolveLocalFileSystemURL'
Date Tue, 25 Mar 2014 15:46:16 GMT
David Pesce created CB-6345:
-------------------------------

             Summary: 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
    Affects Versions: 3.4.0
         Environment: Android 4.4.x
            Reporter: David Pesce


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)

Mime
View raw message