Recognizer Intent: onActivityResult() not called when no match

Last Updated:

  1. alderaan

    alderaan New Member

    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.

  2. alderaan

    alderaan New Member

    Anybody with a workaround or with the same problem?


Share This Page