Tts - Check_voice_data_fail - Check Engine Availlable
Im having a odd Problem with the TTS engine and I cant figure out why / where is my mistake. Is searched for hours for a solution but without any mentionable result. When I am usin
Solution 1:
Unfortunately, initializing TextToSpeech
reliably is complicated, asynchronous, and confusing.
Why is your code checking 0x99???
You actually don't need to use the ACTION_CHECK_TTS_DATA Intent
to check for language availability, use TextToSpeech.isLanguageAvailable
instead.
So here is a helper class that does it. The code in that library will help you get started. It can be as easy as just extending this class.
Or you can read about the details in this book.
Post a Comment for "Tts - Check_voice_data_fail - Check Engine Availlable"