是否可以在 Android 4.4 上实现语音交互?

Is it possible to implement Voice Interactions on Android 4.4?

是否可以为 Android 4.4 实现语音交互?

如果可以的话如何实现?

https://io2015codelabs.appspot.com/codelabs/voice-interaction#1

您可以使用 Speech to text 与您的 phone 互动。而您 speak.you 可以将您的语音转换为文本(字符串)并使用 condition.the 检查它,您可以使用 Text to speech 获取音频输出,如 google now。 参考此 speech to text and Text to Speech

我们可以在 Android 参考文献中看到 API 自 API 级别 23 (M) check here 添加。所以你不能在4.4中使用它。 与预览 API 版本进行语音交互的唯一方法是使用 TextToSpeech API、使用 SpeechRecognition 服务或实现 SpeechListener 接口(使用 SpeechRecognizer 来实现)以执行 ASR。

希望对您有所帮助。 再见 ;).