cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12371) "Selection Cancelled" error
Date Tue, 07 Feb 2017 19:47:41 GMT

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

jcesarmobile closed CB-12371.
-----------------------------
    Resolution: Incomplete
      Assignee: jcesarmobile

Closing as there is no enough information to reproduce and no more information was provided
after being asked.

Feel free to reopen if you can provide more information

> "Selection Cancelled" error
> ---------------------------
>
>                 Key: CB-12371
>                 URL: https://issues.apache.org/jira/browse/CB-12371
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.3.0
>            Reporter: Aurelio Merenda
>            Assignee: jcesarmobile
>
> Hello and congratulation for your cordova-plugin-camera!
> I have an issue with getPicture() call: it works most of the time, but, when it don't
works, it returns a message "Selection cancelled".
> This is my code:
> if(window.cordova && navigator && navigator.camera){
>     // convertImage is a my method to manage image, it works
>     navigator.camera.getPicture(convertImage, function(message){
>         // message is "Selection cancelled"
>     }, {
>         quality: 70,
>         destinationType: Camera.DestinationType.FILE_URI,
>         sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
>         allowEdit: false,
>         targetWidth: 1024,
>         targetHeight: 1024,
>         encodingType: Camera.EncodingType.JPEG,
>         mediaType: Camera.MediaType.PICTURE					
>     });
> }
> PS I have 2.3.1 version of cordova-plugin-camera, but I don't found it on JIRA version
field.
> Thanks,
> Aurelio Merenda



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message