I'm not using text to speech in my android app, but I need to know when TTS is speaking. How can I do it?
How to detect Text to speech status (speaking/not speaking) from java code on android?
294 views Asked by user3139904 At
1
I'm not using text to speech in my android app, but I need to know when TTS is speaking. How can I do it?
Set an onUtteranceCompletedListener or onUtteranceProgressListener. Using that you can track the status. Check what the last status was before displaying a toast.