D Deleted member 103 Guest Aug 24, 2021 #1 Hi, I have been using the SpeechToText library for a long time without any problems up to SDK29. Can someone tell me what I need to set so that it also works with SDK? I can't find any info about it. Edit: Library-Link changed Ciao Filippo Last edited by a moderator: Aug 24, 2021
Hi, I have been using the SpeechToText library for a long time without any problems up to SDK29. Can someone tell me what I need to set so that it also works with SDK? I can't find any info about it. Edit: Library-Link changed Ciao Filippo
DonManfred Expert Licensed User Longtime User Aug 24, 2021 #2 What is the full error you got? Upvote 0
D Deleted member 103 Guest Aug 24, 2021 #3 DonManfred said: What is the full error you got? Click to expand... no error, only "sr.isRecognitionAvailable" is always false. B4X: Copy If sr.isRecognitionAvailable Then tbtnMicrophon.Enabled = True sr.createSpeechRecognizer 'Log("OK") Else pnlMicrophon.Visible = False 'Log("Not OK") End If Upvote 0
DonManfred said: What is the full error you got? Click to expand... no error, only "sr.isRecognitionAvailable" is always false. B4X: Copy If sr.isRecognitionAvailable Then tbtnMicrophon.Enabled = True sr.createSpeechRecognizer 'Log("OK") Else pnlMicrophon.Visible = False 'Log("Not OK") End If
DonManfred Expert Licensed User Longtime User Aug 24, 2021 #4 Filippo said: no error, only "sr.isRecognitionAvailable" is always false. Click to expand... There is no such property in the TTS-Library. See https://github.com/AnywhereSoftware...TTS/src/anywheresoftware/b4a/obejcts/TTS.java So what Library you are talking about really? Upvote 0
Filippo said: no error, only "sr.isRecognitionAvailable" is always false. Click to expand... There is no such property in the TTS-Library. See https://github.com/AnywhereSoftware...TTS/src/anywheresoftware/b4a/obejcts/TTS.java So what Library you are talking about really?
D Deleted member 103 Guest Aug 24, 2021 #5 DonManfred said: There is no such property in the TTS-Library. See https://github.com/AnywhereSoftware...TTS/src/anywheresoftware/b4a/obejcts/TTS.java So what Library you are talking about really? Click to expand... Sorry about that. I just noticed it too, so I changed the library link. Upvote 0
DonManfred said: There is no such property in the TTS-Library. See https://github.com/AnywhereSoftware...TTS/src/anywheresoftware/b4a/obejcts/TTS.java So what Library you are talking about really? Click to expand... Sorry about that. I just noticed it too, so I changed the library link.
DonManfred Expert Licensed User Longtime User Aug 24, 2021 #6 Possible solution here: SpeechRecognizer.isRecognitionAvailable() always false in Android 11 As the title implies, SpeechRecognizer.isRecognitionAvailable() returns false in Android 11 and I am not sure why that is as the device (Pixel 3 XL) is equipped to recognize speech. The documentation stackoverflow.com Upvote 0
Possible solution here: SpeechRecognizer.isRecognitionAvailable() always false in Android 11 As the title implies, SpeechRecognizer.isRecognitionAvailable() returns false in Android 11 and I am not sure why that is as the device (Pixel 3 XL) is equipped to recognize speech. The documentation stackoverflow.com
drgottjr Expert Licensed User Longtime User Aug 24, 2021 #7 here's a link to google documentation: https://developer.android.com/about/versions/11/behavior-changes-11 it offers a similar solution to the one mentioned above. you may want to try both. btw, i have a pixel3a running android 11. my tts app built for sdk30 speaks fine without any change to manifest... Upvote 0
here's a link to google documentation: https://developer.android.com/about/versions/11/behavior-changes-11 it offers a similar solution to the one mentioned above. you may want to try both. btw, i have a pixel3a running android 11. my tts app built for sdk30 speaks fine without any change to manifest...