How can i pause voice recording in Android?

patel picture patel · May 8, 2013 · Viewed 14.4k times · Source

My aim is to pause in recording file. I see in Android developer site its but Media Recorder have not pause option.

Java supports merge two audio file programatically but In android its not work.

Join two WAV files from Java?

And also I used default device audio recorder Apps which is available in all device but in Samsung few devices have not returened recording path.

Intent intent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
startActivityForResult(intent,REQUESTCODE_RECORDING);

Any one help for voice recording with pause functionality.

Answer

Raghunandan picture Raghunandan · May 8, 2013

http://developer.android.com/reference/android/media/MediaRecorder.html

MediaRecorder does not have pause and resume methods. You need to use stop and start methods instead.