Android: Where is Speech Recognition temp audio file saved?

When I press and hold the search key on my Droid it starts the built in Android voice recognition.

While it is listening, if I speak the words "Note to self" and then keep talking, when done I get an email ready to send complete with the STT translation and the amr encoded audio file as an attachment.

I want to include this same functionality in my own program. More specifically, I need access to the audio file that is (or appears to be) created by speechrecognizer.

How do I access this audio file?

I am using api level 7. If I try to record and use speechrecognizer at same time it fails.

Any help appreciated.

13
задан Doug 4 May 2011 в 01:50
поделиться