Android: view image after capture before saving

I had an application for a full camera, but I would like you to have a captured image on the screen before saving them (they are not going to the gallery). I use googled extensively and I cannot find anything on this topic. I also don't know how to get started, so any advice or links to relevant information that I did not find would be great. Thank!

+4
source share
1 answer

First of all, I assume that you are using the original Camera APIs , not Camera2 . This functionality is really built into the preview, so I assume that your code just clears the preview too quickly.

Camera.startPreview() - Camera.takePicture() , PictureCallback. , , . , Camera.startPreview() onPictureTaken(), , SurfaceView , , .

, , JPEG , .

+8