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 , .