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

Android 4.4 - Camera plugin saveToPhotoAlbum option doesn't work

    XMLWordPrintableJSON

    Details

      Description

      I have the following code running on a MotoX. Thing is my file_uri ends up being something like file:///storage/emulated/0/DCIM/Camera/foo.jpg - and it doesn't show up in the Gallery or Photos - aka saveToPhotoAlbum doesn't appear to be working as intended.

      var cameraOptions =

      { quality: 100, destinationType: Camera.DestinationType.FILE_URI, sourceType: Camera.PictureSourceType.CAMERA, allowEdit: true, encodingType: Camera.EncodingType.JPEG, targetWidth: 800, saveToPhotoAlbum: true }

      ;
      navigator.camera.getPicture(
      .bind(this.onPhotoSuccess, this),
      .bind(this.onPhotoError, this),
      cameraOptions);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bowserj Joey Robert Bowser
                Reporter:
                elsigh Lindsey Simon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: