You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "John Sim (JIRA)" <ji...@apache.org> on 2014/04/04 11:36:16 UTC
[jira] [Created] (CB-6403) Google Glass Android 4.0.4
John Sim created CB-6403:
----------------------------
Summary: Google Glass Android 4.0.4
Key: CB-6403
URL: https://issues.apache.org/jira/browse/CB-6403
Project: Apache Cordova
Issue Type: Bug
Components: Android, Plugin Camera
Affects Versions: 3.3.0
Environment: Google Glass
Reporter: John Sim
Error capturing image.
navigator.camera.getPicture.quality
cordova.callbackFromNative cordova.js:294
processMessage cordova.js:1029
androidExec.processMessages cordova.js:1063
pollOnce cordova.js:933
pollOnceFromOnlineEvent cordova.js:928
{code:javascript}
navigator.camera.getPicture(function(imageData) {
var image = $('#FB-image');
image.attr('src','data:image/jpeg;base64,' + imageData);
}, function(err) {
console.error(err);
}, {
quality: 50,
destinationType: Camera.DestinationType.DATA_URL
});
{code}
When removing quality and then issue moves onto destinationType.
have tried lowering and changing the values but still errors.
Tested and code works fine on Android 4.4 kitKat Samsung S3.
--
This message was sent by Atlassian JIRA
(v6.2#6252)