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

Camera fails to return an actual FILE_URI it always returns content://

    XMLWordPrintableJSON

Details

    Description

      No matter what I do I can not get a url of file:///... all I get is

      content://media/external/images/media/1357
      

      Here is my very simple code....

      navigator.camera.getPicture(function(imageURI){
         console.log('GOT IMAGE: '+imageURI);
         window.resolveLocalFileSystemURL(imageURI, function(entry){
            console.log(entry.name + " " +entry.fullPath);
         }, function(e){
            console.log('Some error occured: '+e.code);
         }); 
      }, onPhotoFail, {
         destinationType: 1, 
         sourceType: pictureSource,
         mediaType : Camera.MediaType.ALLMEDIA,
         encodingType: 0,
         allowEdit : false,
         correctOrientation:true,
         saveToPhotoAlbum: false,
         quality: 50
      });
      

      I always get content://... for the returned path from camera and even the same thing when I resolve the url. Can you confirm this bug?

      Attachments

        Issue Links

          Activity

            People

              bowserj Joey Robert Bowser
              drumaboy46 Ralph S Theart
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: