Open GoogleCodeExporter opened 9 years ago
Full code:
speechRecognitionIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US");
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 5);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SI
LENCE_LENGTH_MILLIS, 1000);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_CO
MPLETE_SILENCE_LENGTH_MILLIS, 1000);
speechRecognitionIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, context.getPackageName());
Original comment by eug...@wearableintelligence.com
on 30 Apr 2014 at 1:01
Original issue reported on code.google.com by
eug...@wearableintelligence.com
on 30 Apr 2014 at 1:00