I am getting this error when running start() for mediarecorder.
06-28 18:46:22.570: E/MediaRecorder(9540): start failed: -19 06-28 18:46:22.570: W/System.err
The problem here is about the camera. Just use camera.unlock() to allow the media process to access the camera.
camera
camera.unlock()
This must be done before calling MediaRecorder.setCamera(Camera). This cannot be called after recording starts.
Read more here.