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

resolveLocalFileSystemURI from camera.getPicture(function(imageURI)); returns error 5.

    XMLWordPrintableJSON

Details

    Description

      Hey there, found an issue regarding camera.getPhoto(); on the success callback when using the imageURI, window.resolveLocalFileSystemURI(imageURI); will return error 5, however by prepending "//" to the imageURI, behaviour continues on as normal.

      Alerting the imageURI shows it as /CapturedImagesCache/, so I am assuming by prepending // (therefore making it ///CapturedImagesCache/) makes it resolve to the correct URI

      http://stackoverflow.com/questions/15072843/resolvelocalfilesystemuri-error-code-5-windows-phone-7-phonegap/15536795#15536795

      Attachments

        Activity

          People

            bennmapes Benn
            dimitri.adamou Dimitri Adamou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: