I was going to play with tweaking these settings, too, because
sometimes it takes off to voice recognition land before the user is
really done... especially for new users... but the javadoc warns in a
way that leads me to believe that these settings could be pretty
unreliable... and your
Hi vamsi,
you should of course specify some integer value representing the silence
length in milliseconds. For example:
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS,
1000);
Hi Filip Havlicek,
I change my code as follows
intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS,
10 );
But i did not see any result. I am testing it with adding zeros to the
number.
Still same issue am getting. Is there any other way to solve it?
Thanks Filip Havlicek,
I found those string constants in android documentation previously.
And tried to use those elements in my app.
Following is my code,
public static final String
EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS =
4 matches
Mail list logo