The recorder uses MediaRecorder.setOutputFormat
(MediaRecorder.OutputFormat.THREE_GPP).

On Jan 29, 11:45 pm, "hmmm" <akul...@mail.ru> wrote:
> Hi,
>
> I want to record and AMR file using the standard Sound Recorder application. 
> So I use Intent.ACTION_GET_CONTENT_TYPE and use Intent.setType("audio/amr").
> I can see then that the Sound Recorder does create a MediaStore entry and 
> does create a file with the AMR extension.
> So then I get this file using adb pull. And I open this file and I see it's a 
> 3gp file, not an AMR file.
> I open it in a text editor and see 3gp signature in there.
> So then, even though I specify audio/amr mime type Android still creates a 
> 3gp file. Why so?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to