Changing Talkback language dynamically?

I have a translation quiz application and I want to make it accessible to the blind. The problem is that when I focus on a Spanish sentence (for example), Talkback reads it in English. Is there a way to activate Spanish TTS dynamically in Java?

thank

0


source to share


1 answer


Yes there is!

You have to wrap the string in LocaleSpan

(min sdk 17) and the latest version of TalkBack can switch language on the fly.



+1


source







All Articles