Want to launch default Voice recorder from application to capture audio

android

Solution

I think RECORD_SOUND_ACTION is what you're looking for.

Example:

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

Problem

How can I launch default voice recorder available in device to record voice? I want to do that using `startActivityForResult` so that captured voice data I can get back in my activity (similar to when we launch camera to capture image). I don't know the intent action to perform this. How can I do this. Any ideas?

Original source

Related problems