I am working on one small android application.With in that I have a requirement like audio recording with pause and resume options.I searched a lot in the Google,but I couldn't get anything related to that.
Somebody said that there is no default pause and resume functionality in android.
If you want that ,"you need to save that recorded audio file while click on pause button and save into your SD card.And you need to start again from the beginning when you click on resume button.At lost If you want to upload ,then you need to merge all the recorded files as one file then upload it".
I followed his suggestion,but there is no such related code for merging audio files of m4a format available in java/android.
It's not trivial to merge separate audio files, and it's a somewhat unusual use case for a mobile device, so I'm not surprised that Android does not have that functionality built in. The easiest way would probably be to upload all the fragments to the server and append the files there. On the server is should be much easier to install libraries or tools that can handle that.
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad: