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
Solution 1:
you will need to fetch the image taken and display it.
Solution 2:
The preview will be stopped after you take a picture. However, the stopped preview does not necessarily correspond to the picture that was actually taken. For that, you'll have to fetch the picture and display it through an ImageView or something similar.
This method is only valid when preview is active (after startPreview()). Preview will be stopped after the image is taken; callers must call startPreview() again if they want to re-start preview or take more pictures. This should not be called between start() and stop(). After calling this method, you must not call startPreview() or take another picture until the JPEG callback has returned.
Post a Comment for "The Way To Freeze The Camera Preview"