• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Recognizer Intent: onActivityResult() not called when no match

alderaan

Lurker
Hi everybody,

I have the following issue. I am starting a recognizer intent activity in order to detect speech using the "startActivityForResult" method. I have also an "onActivityResult" method listening for results from the recognizer activity. It works and it detects my speech. The problem is that it is only called when everything is ok or when i cancel the operation, but it is not called if it doesn't find a matching text "RecognizerIntent.RESULT_NO_MATCH" or in the rest of wrong cases "RecognizerIntent.RESULT_........"

What is happening? Application is Android 2.1 and I have tested on a Android 2.2 device.

Thanks in advance.
 
Back
Top Bottom