开发者

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. :-(

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜