• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android: Voice Recognition Stop Explicitly?

mike6679

Lurker
I know you can increase the amount of time to consider input complete by calling :

intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS,5000);

However, is there a way after kicking off the Android Voice recognition activity, to stop it explicitly (stop listening) , say after receiving a "keyword"?
 
Back
Top Bottom