I’m trying to use the Android SpeechRecognizer class for “hands-free” continuous speech, but it does not seem to work at all.
When the speech recognizer starts it does beep, but for some reason, it detects its own beep as speech, and then ends the speech but did not detect anything.
The odd thing is, if I use the German language offline library, everything works as expected. Just the English exits because of the beep (Samsung S4 and others)
But, my Samsung tablet seems to work fine in English.
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en"); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en"); //intent.putExtra(RecognizerIntent.EXTRA_PREFER_OFFLINE, true); this.speech.startListening(intent);