It is a 3gp file.  If you want the AMR data, you'll have to use ffmpeg
to rip it directly (As far as I'm aware).  That will require some
knowhow and the ability to compile the source from CVS, since ffmpeg
isn't a typical open source project in the sense it has release builds
of any kind.

There's a couple of guides to doing so floating around the web.

On Nov 19, 12:12 am, bluekidjoe <[EMAIL PROTECTED]> wrote:
> Excuse me...
> Could anyone give me the SoundRecordingDemo app???
> I have already spent a lot time... but in vain...
>
> Besides, I followed the source code described in the following
> hyperlink:http://code.google.com/android/reference/android/media/MediaRecorder.....
>
> recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
> recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
>
> Is the recorded audio file a 3gp file or a amr file?
> I checked the header of the recorded file and it seems not a amr 
> file.http://wiki.forum.nokia.com/index.php/AMR_format(amr format)
> Could I get the pure amr file? and how?
>
> Thanks~
>
> On 10月1日, 下午9時12分, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>
> > I found SoundRecordingDemo in the mailing list files.
> > I tried this because I try to record a sound in one of my
> > activities...
> > First I had to add the RECORD_AUDIO permission in order not to have an
> > error message.
> > Regarding the code, the media scanner should be launched after
> > recording, but I had to do this myself (in dev tools application) in
> > order to see the newfilein the music application.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to