choiceCamera() {
let self = this;
let cmr = window.plus.camera.getCamera();
let res = cmr.supportedImageResolutions[0];
let fmt = cmr.supportedImageFormats[0];
cmr.captureImage(
function(path) {
alert(path);
},
function(e) {
alert(e.message);
},
{ index: 1, filename: '_doc/camera/', resolution: res, format: fmt }
);
}
获得的e.message为resultCode is Wrong;code=11
android studio中的报错,求大神支个招!