开发者

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 m开发者_如何学编程y 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.


I don't think the com.google.android.voicesearch application provides access to the recorded audio files. The files are temporarily stored in /data/data/com.google.android.voicesearch/files after the user makes a recording, but I'm not sure how you would get read access to those files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜