Search code examples
androidcameraandroid-camerapreview

The way to freeze the camera preview


I Implemented a system to take photo in my apps with Android class Camera. All run well but after taken photo I want show the preview at the user and let him the choice to save the picture or cancel it. The problem I have is with the preview. The preview appears after the mCamera.startPreview(); and is shown during only some little seconds with or without mCamera.stopPreview();. I would extend display time or freeze preview until some certain event.

Somebody know a way to congeal the preview for a time ?

Thanks.


Solution

  • you will need to fetch the image taken and display it.