1

以下のコードを使用しています。

navigator.camera.getPicture(failed, completed, { destinationType: Camera.DestinationType.DATA_URL });

function completed() {
    alert('got it');
}

function failed() {
    alert('Failed to get the photo');
}

それは常に失敗機能に到達します。許可がありませんか?

4

1 に答える 1