Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6345

No installed handlers for this URL when using 'resolveLocalFileSystemURL'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • None
    • None
    • Android 4.4.x, cordova-plugin-camera v 0.2.8, cordova-plugin-file v 1.01

    Description

      After taking a picture, the imageURI that is returned cannot be handled by window.resolveLocalFileSystemURL.

      function movePhoto(imageURI){
           console.log("Image URI:"+ imageURI)
           window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
      }
      

      console displays:
      file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg

      resOnError is always called with an encoding error (5).

      Attachments

        Issue Links

          Activity

            People

              iclelland Ian Clelland
              davidpesce David Pesce
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: