在 Android 中的语音识别中禁用现在说话提示 [英] Disable speak Now prompt in Voice Recognition in Android
问题描述
当我在 android 中点击语音搜索时,它会弹出一个屏幕现在说话",然后我说你好"然后出现一个正在工作的屏幕.我可以知道如何在 Android 的语音识别中禁用默认的立即发言"和工作"屏幕.
When i click on Voice Search in android it gives a pop up screen SPEAK NOW and after i speak say Hello then a WORKING screen comes. Can i know how to disable the default Speak Now and Working screen in Voice Recognition in Android.
这些屏幕在我使用 API RecognizerIntent.ACTION_RECOGNIZE_SPEECH 时显示.
These screens are displayed as i use the API RecognizerIntent.ACTION_RECOGNIZE_SPEECH.
如何提供屏幕并知道实际处理发生的位置?
How can i give my screens and know where actual processing takes place?
推荐答案
我猜用户现在已经解决了他们的问题.对于今天看到这个的任何人,答案是使用 SpeechRecognizer
http://developer.android.com/reference/android/speech/SpeechRecognizer.html
I'm guessing the user has solved their problem by now. For anyone seeing this today, the answer is to use the SpeechRecognizer
http://developer.android.com/reference/android/speech/SpeechRecognizer.html
SpeechRecognizer
可让您在自己的 Activity 中使用语音识别,定义自定义 UI.
The SpeechRecognizer
lets you use speech recognition from within your own Activity, defining custom UI.
这篇关于在 Android 中的语音识别中禁用现在说话提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!