I am developing an audio recording application in Android 2.3 using MediaRecorder class. I have the following requirement :
- When an interruption occurs , say during recording a call , pause recording .
- After the interruption is over and onResume of my recording activity is called , I have to resume recording from the point where it was paused .
I could not find a MediaRecorder api to pause and resume recording. Only start() and stop() are available.
Apart from recording two separate files before and after interruption and then joining them together into one file, is there any other way to achieve this?
Sneha John.