cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-5839) Android 4.4 - Camera plugin saveToPhotoAlbum option doesn't work
Date Mon, 17 Feb 2014 16:02:19 GMT

     [ https://issues.apache.org/jira/browse/CB-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser reassigned CB-5839:
------------------------------

    Assignee: Andrew Grieve  (was: Joe Bowser)

Care to go for a hat trick on this one? It seems related to the content URI issue that you
were dealing with earlier.

> Android 4.4 - Camera plugin saveToPhotoAlbum option doesn't work
> ----------------------------------------------------------------
>
>                 Key: CB-5839
>                 URL: https://issues.apache.org/jira/browse/CB-5839
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Camera
>    Affects Versions: 3.3.0
>            Reporter: Lindsey Simon
>            Assignee: Andrew Grieve
>
> 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);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message