How to close native Camera automatically, after capturing a photo using camera
After capturing a photo using camera,
How to close native Camera automatically and redirect to app, without showing a preview with save or discard options .
Is this possible with Phonegap API?
Thanks Pet开发者_StackOverflower
navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] ); Description
Function camera.getPicture opens the device's default camera application so that the user can take a picture (if Camera.sourceType = Camera.PictureSourceType.CAMERA, which is the default).
Once the photo is taken, the camera application closes and your application is restored.
As preview is part of the native app, there is no way to skip it. :-(
精彩评论