问题标签 [recognizer-intent]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
19 浏览

android - Android RecognizerIntent 上面的应用程序覆盖

我需要在应用程序覆盖上方打开 Google Speech RecognizerIntent。我在 Overy 源代码和 RecognizerIntent 下面添加了。请指导。

public void askSpeechInput() { if(!SpeechRecognizer.isRecognitionAvailable(this)) { Toast.makeText(this, "语音识别不可用", Toast.LENGTH_SHORT).show(); }别的 {

}