Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Can we achieve audio recording pause/resume functionality in android 4.0

 
Snehitha Prasad
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Can anyone suggest me on this.

Thanks,
SNEHITHAPRASAD.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic