Android camera freezes after taking one photo

Toshe picture Toshe · May 26, 2011 · Viewed 20.7k times · Source

I'm doing one project with camera and after taking one photo camera freezes and u have to finish the activity and recall it again to take another photo, how can I take photo freeze for just 1-2 sec and then surface view to have the camera again. the same for video I am using media recorder, taking video press stop video saves and screen is still alive but I can not take video again I have to restart the activity?

Anybody have a solution?

Answer

stoefln picture stoefln · Oct 10, 2011

I found a solution for this: After taking a picture, preview display will have stopped. To take more photos, call camera.startPreview() again first.