Hi, I'm now and in my app I'm starting the recognizer to listen for
speech. (My app is API level 4)

If it fails, it brings up a dialog to try again or cancel.

How could my Activity cancel that activity and try again
automatically?

Thanks for any advice.

I have a handler that is calling a runnable but I'm not sure how to
kill the dialog.

<code>

        Intent intent = new
Intent(oRecognizerIntent.ACTION_RECOGNIZE_SPEECH);
        intent.putExtra(oRecognizerIntent.EXTRA_LANGUAGE_MODEL,
                        oRecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
        intent.putExtra(oRecognizerIntent.EXTRA_PROMPT, "Your
Command?");

</code>

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

Reply via email to