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"?
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"?