cordova調用相機並預覽照片

首先要有平臺環境,我這裏用的是安卓的環境,安裝相機插件,在控制檯運行javascript cordova plugin add cordova-plugin-camera 安裝完成以後,在index.html插入以下代碼:html <button id="imageCapture" style="width:200px;height:40px;background: orange;">take p
相關文章
相關標籤/搜索