have the 2.2 api changes done anything to help with this? Another feature I always wanted was the ability to define the valid responses for the engine to match against; yes/no and so. so you don;t get things like "snow" coming back as a response.
Also, defining "digit" recognition only and so. Don't see any movement on this yet :( On May 19, 1:10 am, GregM <[email protected]> wrote: > I had this same problem. Since the speechrecognitionrequires > clicking the dialog window when an error occurs, my app cannot be > truely hands free. This is a big problem if you are trying to use > speechrecognitionto save the user from having to look at the device. > > Calling finishactivity works but I hope google will add better > controls in the future. > > Greg > > On May 18, 12:48 pm, pac <[email protected]> wrote: > > > > > Thanks for your information. > > > I ended up having the app sleep for several seconds and then do a > > finishActivity() because if nothing happened by then, some error must > > have occurred. > > > On Apr 20, 2:28 pm, Dianne Hackborn <[email protected]> wrote: > > > > Sorry, the current API does not provide this kind of control. > > > > On Tue, Apr 20, 2010 at 10:45 AM, pac <[email protected]> wrote: > > > > My speechrecognitionapp 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 > > > >recognitiondemo"); > > > > 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 [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<android-developers%2Bunsubs > > > > [email protected]> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > [email protected] > > > > 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 [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > For more options, visit this group > > > athttp://groups.google.com/group/android-developers?hl=en > > > -- > > 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 > > athttp://groups.google.com/group/android-developers?hl=en > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

