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?
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);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With