Media recorder - Android The following demo shows how to use MediaRecorder to record an audio file and how to use MediaPlayer to play the audio back. Reference https://developer.android.com/guide/topics/media/mediarecorder.html