Android audio recording?

Hi all,
I’m new to Corona and an important feature of the project I’m working on is the ability to record audio, modulate it and play it back on android and ios. According this this page: http://developer.anscamobile.com/reference/index/medianewrecording, this isn’t available on Android but there’s a note on how to use it on android.

Can anyone clarify this for me?

Thanks,
TJ [import]uid: 90448 topic_id: 15025 reply_id: 315025[/import]

Hello TJ,

Audio recording does in fact work on Android, with one caveat. You are unable to play back the recorded audio file via our “audio” API. You can only play it back via our “media.playSound” API. This is because Android records audio in 3GP format which our audio API does not support.

If you look at our “Media/SimpleAudioRecorder” sample app, it will show you how to record audio. However, you’ll have to modify it to use the media API for playback. Notice in the sample code that the media functions are commented out. You’ll need to add them back in and comment out the audio functions to make it work on Android.

I apologize for the confusion in our API documentation. Our plan is to modify audio recording to record to WAV file on Android in the future, which our audio API supports, and then we’ll add Android support to our API documentation. [import]uid: 32256 topic_id: 15025 reply_id: 55534[/import]

Is the reply above still valid for build 894?
I cant seem to play the file I recorded… and I know it is being recorded! [import]uid: 123238 topic_id: 15025 reply_id: 122638[/import]

Yes, my comment still applies. Corona’s [lua]audio[/lua] API still does not support the 3GP format that Android records to by default. Using Corona’s [lua]media[/lua] API is your only option. [import]uid: 32256 topic_id: 15025 reply_id: 122902[/import]

Is the reply above still valid for build 894?
I cant seem to play the file I recorded… and I know it is being recorded! [import]uid: 123238 topic_id: 15025 reply_id: 122638[/import]

Yes, my comment still applies. Corona’s [lua]audio[/lua] API still does not support the 3GP format that Android records to by default. Using Corona’s [lua]media[/lua] API is your only option. [import]uid: 32256 topic_id: 15025 reply_id: 122902[/import]