I need a way to control the camera flash on an Android device while it is recording video. I\'m making a strobe light app, and taking videos with a flashing strobe light would r
After preparing media recorder, use camera.lock(), and then set whatever parameters you want to set to camera.
But before starting recording you need to call camera.unlock(), and after you stop media recorder you need to call camera.lock() to start preview.
Enjoy!!!