cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Nonk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10625) getPicture fails when getting a photo from the Photo Library
Date Sun, 21 Feb 2016 20:41:18 GMT

    [ https://issues.apache.org/jira/browse/CB-10625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156218#comment-15156218
] 

Tom Nonk commented on CB-10625:
-------------------------------

Thanks for that fix, but the "Error retrieving image" is still present.

The error seems to be linked to "allowEdit" option. When "allowEdit: false" it is using a
different gallery app as when it is set to "true", then it seems to work.

> getPicture fails when getting a photo from the Photo Library
> ------------------------------------------------------------
>
>                 Key: CB-10625
>                 URL: https://issues.apache.org/jira/browse/CB-10625
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: Master, 6.0.0
>         Environment: cordova-plugin-camera 2.1.0, cordova-android 5.1.0, android 5.0.2,
no crosswalk
>            Reporter: Tom Nonk
>            Assignee: Joe Bowser
>              Labels: Android
>
> Hi,
> Since I updated Cordova to 6.0.0, camera.getPicture always fails and returns: "error
retrieving image".
> Here are the parameters I use:
> {
> 	quality: 100,
> 	targetHeight: 250,
> 	targetWidth: 250,
> 	destinationType: Camera.DestinationType.FILE_URI,
> 	sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY,
> 	allowEdit: true,
> 	encodingType: Camera.EncodingType.JPEG,
> 	correctOrientation: true
> }
> Thanks by advance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message