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

No installed handlers for this URL when using 'resolveLocalFileSystemURL'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: