Sorry, the current API does not provide this kind of control.

On Tue, Apr 20, 2010 at 10:45 AM, pac <patty.c...@gmail.com> wrote:

> My speech recognition app needs to work without human intervention, so
> the situations where the "No speech heard" or the "No matches found"
> dialogs come up and require a button press are a problem.
>
> Is there a way to prevent this dialog from displaying?
>
> Is there a way to programming perform the button click?
>
> Is there a way to programmatically close the dialog?
>
> This is how I'm firing the RecognizerIntent:
>
>        Intent intent= new
> Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
>        intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
>                        RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
>        intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech
> recognition demo");
>        startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to