MediaRecorder

This sample demonstrates how to use the MediaRecorder API to record video from a camera or camcorder, and display a preview of the recording.