以下のコードを使用しています。
navigator.camera.getPicture(failed, completed, { destinationType: Camera.DestinationType.DATA_URL });
function completed() {
alert('got it');
}
function failed() {
alert('Failed to get the photo');
}
それは常に失敗機能に到達します。許可がありませんか?