Android Question Voice Recognition wait and message

Discussion in 'Android Questions' started by z8195a, Apr 18, 2019.

  1. z8195a

    z8195a New Member Licensed User

    I'm adding voice recognition to an app and found this very helpful example:

    https://www.b4x.com/android/forum/threads/voice-recognition-example.7317/

    However, I found 2 issues:

    1.- If the user doesn't speak immediately, he gets a message from Android saying "Didn't understand, please try again". It forces the user to press a button to try again. How can I make the app just sit in listening mode indefinitely until it hears something?

    2.- Even if the user speaks immediately, he sees a distracting "Say your message" message from Android. How can I suppress that message?

    Thanks in advance for any help on this.
     
    Rockefeller Goldman likes this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Rockefeller Goldman likes this.
  3. Syd Wright

    Syd Wright Active Member Licensed User

    There are three possibilities (libraries) in the Forum that do what you want. Take a look here (in thread #56): https://www.b4x.com/android/forum/threads/voice-recognition-example.7317/page-3#post-462431
     
    Rockefeller Goldman likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice