As I said, use AudioRecord (
http://developer.android.com/reference/android/media/AudioRecord.html )
There might be some sample code in the SDK, I'm not sure.


On Thu, May 14, 2009 at 9:43 PM, Anh Khoa Nguyen Pham <[email protected]>wrote:

> Hi Marco,
> How can i record audio in PCM format in 1.5 ? Could you please show me some
> snap code  to do this? I'm very appreciate your help!
> Thanks,
> NPAK
>
>
> On Fri, May 15, 2009 at 10:35 AM, Marco Nelissen <[email protected]>wrote:
>
>>
>> On Thu, May 14, 2009 at 6:54 PM, [email protected] <[email protected]>
>> wrote:
>> >
>> > Hi all,
>> >
>> > Now i want to record audio in WAV format. What should i do now because
>> > android only supports *.3gp or *.AMR type?
>>
>> If you're OK with your app working only on 1.5 and higher, you could
>> use AudioRecord to get the PCM data, and then write the WAV file
>> yourself.
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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