MediaRecorder is the Android class used for recording Audio and Video available since API Level 1.
Useful resources:
public class MediaRecorder
official documentation.public final class MediaRecorder.OutputFormat
official documentation.MediaRecorder
overview (guide).- The Android MediaRecorder sample demonstrates how to make a video recording using
MediaRecorder
and the Camera API.