Quando testa no celular (SM-M315F/DS/ samsung M31) com o assistente Al, aparece esse erro "No Activity found to handle Intent { act=android.speech.action.RECOGNIZE_SPEECH (has extras) }". Como posso resolver esse problema??
Are you using the SpeechRecognizer component? You may want to share your Blocks. Without more information about your app one can only guess at the issue.
Hi community...
I too have the same issue when using the emulator on an Android phone; which is an old android OS, which doesn't have Google TTS as it's "not compatable with your OS version"...
In short; you are receiving this error as there is no app on your device, that can handle the SpeechRecogizer event.
Which poses a question: When this error is caused, how can I get my app to do something else? Such as display alert "Sorry; speech not supported on this device." as opposed to the runtime error message
Maybe the Screen1 error event block can catch that?, and you could test the error code?
I thought so too @ABG ...
But it seems that there is no errornumber for this error.
Meaning that the Screen1.error block doesn't respond, hence my original problem.
(In passing; if anyone wanted a list of the errornumbers in use, this might be of help: ProfessorCad: Error Codes)
I've been trying to create a call handler app; which uses a "Text-to-speech" and a "SpeechRecognizer" component batting off either other...
On my tablet; the speechrecognizer works, but the "Phone Call" component doesn't (no SIM card so can't handle calls).
On my phone (which isn't quite in Noah's Arc but is old); the speechrecognizer doesn't work, but the "Phone Call" component does.
I know this sounds like a comedy sketch, but sadly this is a very real pain in the 'behind'. Any help with ^THIS^ issue would be a great start though...
Sorry, I have run out of ideas.
I vaguely remember some one wrote a debugging extension.
No worries, @ABG ...
Thanks for getting back to me so quickly.
I've had a quick look at some of the tagged articles; but might need to do a bit more searching within them.
I do know that the reason for this error is that Google TTS won't install on my phone (is not present), so the app has no app to pass the SPEECH_RECOGNIZER on to...
Alas for now "Back to the drawing board" as they say...
Thank you for your assistance though...
The activity starter has a block to test if an activity exists
Maybe it can be used to test if speech is available?
Which Android device manufacturer and Android version is it?
Taifun
To be honest; I haven't used the ActivityStarter before, so I didn't know that...
Thanks for that!