2

安卓应用程序是否有可能在没有任何其他用户输入的情况下一直收听语音命令?

4

2 回答 2

1

Speech Input 是您正在寻找的 API,您将使用下面链接的 API;

http://developer.android.com/resources/articles/speech-input.html

在这里,你会找到你需要的 RecognitionListener 接口;

http://developer.android.com/reference/android/speech/package-summary.html

于 2012-03-08T13:56:29.277 回答
0

是的,Android 应该有可能在其中包含 Speech to Text APi。将用户输入作为语音获取并将其转换为字符串。根据您的字符串输出,您可以对应用程序进行操作。

查看此帖子以获取有关语音转文本 API 的更多信息

http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html

于 2010-09-01T10:15:34.120 回答