摘要:
原创:参考官网API直接贴代码//拍照 function capturePhoto() { navigator.camera.getPicture(AddPhoto, onFail, { quality : 80, destinationType : destinationType.FILE_URI,//这里要用FILE_URI,才会返回文件的URI地址 sourceType : Camera.PictureSourceType.CAMERA, allowEdit : true, ... 阅读全文