1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Recognizer Intent: onActivityResult() not called when no match


Last Updated:

  1. alderaan

    alderaan New Member This Topic's Starter

    Joined:
    Nov 28, 2010
    Messages:
    4
    Likes Received:
    0
    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.
     

    Advertisement
  2. alderaan

    alderaan New Member This Topic's Starter

    Joined:
    Nov 28, 2010
    Messages:
    4
    Likes Received:
    0
    Anybody with a workaround or with the same problem?

    Thanks
     

Share This Page

Loading...