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

Cordova resolveLocalFileSystemURL success call back failing

    XMLWordPrintableJSON

    Details

      Description

      I've just created a new project and installed the file and file-transfer api's via CLI. I have already created a working app previously so I know how to use phonegap and have been doing so for a few years now.

      Here is the code:

      uri from navigator.camera.getPicture(): "file:///localhost/var/mobile/Applications/96B4705C-C70D-4340-9A42-HJ1F28355D43/tmp/cdv_photo_015.jpg"

      window.resolveLocalFileSystemURL(uri, function(fileEntry)

      { console.log(fileEntry.name); }

      , function(error)

      { console.log('about to resolve this files errors'); console.log(error.code); }

      );
      Nothing ever gets outputted in the console debugging window ...and yes I have debug installed cause I have console.log() in other parts of my code that show up.

        Attachments

          Activity

            People

            • Assignee:
              iclelland Ian Clelland
              Reporter:
              drumaboy46 Ralph S Theart
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: