Android Question Voice Recognition wait and message

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.
 

Syd Wright

Active 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.
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
 
Top