随笔分类 -  移动开发

phoneGap API调用摄像头并上传图片
摘要:function uploadshow(typeid) { // Retrieve image file location from specified source navigator.camera.getPicture(uploadPhoto, function(message) { alert('没有获取到照片'); }, { quality: 50, destinationType: navigator.camera.DestinationType.FILE_URI, // sourceType: navigator.camera.PictureSourceType.P 阅读全文
posted @ 2012-05-21 22:30 zhs5 阅读(1635) 评论(0) 推荐(0)