Hi.
I was wondering if it is possible to make the phone's voice recognition allow greater silence intervals. You know, the VR returns if you're quiet for a couple of seconds. Can that interval be increased in any way?
Thanks in advance.
I know there is a way through Android Intents itself, through some class called RecognizerIntent, which contains something like this:
B4X:
public static final String EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
And I know you can pass your own Intent to B4J's VoiceRecognition's "Listen" function, but I don't understand intents, and even if I did, I have no idea how to implement this static variable into it.
Any ideas?
Dim in As Intent
in.Initialize("android.speech.action.RECOGNIZE_SPEECH", "")
in.PutExtra("android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS", 1000)
Dim in As Intent
in.Initialize("android.speech.action.RECOGNIZE_SPEECH", "")
in.PutExtra("android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS", 1000)