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

Make resolveLocalFileSystemURL() work with content:// URLs returned by the Camera API

    XMLWordPrintableJSON

Details

    Description

      calling `window.resolveLocalFileSystemURI` with the returned URI results in an error with the following log:

      Object
       "File" "resolveLocalFileSystemURI" "File629493933" "["content://com.google.android.gallery3d.provider/picasa/item/5825295055430535810"]"
      processMessage failed: Message: S01 Camera629493932 scontent://com.google.android.gallery3d.provider/picasa/item/5825295055430535810
      processMessage failed: Error: Error: Error calling method on NPObject.
      processMessage failed: Stack: Error: Error calling method on NPObject.
          at androidExec (file:///android_asset/www/native/cordova-2.6.0.js:859:48)
          at file:///android_asset/www/native/cordova-2.6.0.js:6326:5
          at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:136:23)
          at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:3:61)
          at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:169:19)
          at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:3:61)
          at Object.callbackFromNative (file:///android_asset/www/native/cordova-2.6.0.js:291:54)
          at processMessage (file:///android_asset/www/native/cordova-2.6.0.js:970:21)
          at Function.processMessages (file:///android_asset/www/native/cordova-2.6.0.js:1008:17)
          at pollOnce (file:///android_asset/www/native/cordova-2.6.0.js:874:17)
      

      Attachments

        Issue Links

          Activity

            People

              iclelland Ian Clelland
              amuino Abel MuiƱo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: