I know that and in my case the format is set to RAW_AMR. As I said I invoke 
Sound Recorder passing Intent.setType("audio/arm") so it results in the 
Sound Recorder setting OutputFormat.RAW_ARM
It creates a file with the arm extension yet the content of the file is 3gp.
Is it so by design?

----- Original Message ----- 
From: "AlexeyMot" <alexey...@gmail.com>
To: "Android Developers" <android-developers@googlegroups.com>
Sent: Friday, January 30, 2009 2:18 AM
Subject: [android-developers] Re: Want to have amr file still getting 3gp



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