问题 Is it possible to open Camera instance from Web App? I have a Web App. displays something, and I want the user to be able to Take a picture and send it to the server. How can I achieve this? 回答1: Using cordova apis it's easy Check out the following code sample: JS: // A button will call this function // To capture photo function capturePhoto() { // Take picture using device camera and retrieve image as base64-encoded string navigator.camera.getPicture(uploadPhoto, onFail, { quality: 50,