DEV Community

Mayank
Mayank

Posted on

Answer: Android Talkback accessibility events

Option 1 - if you just want to read some text: Use speech to text

please refer this answer

Text to speech is built into Android 1.6+. Here is a simple example of how to do it.

TextToSpeech tts = new TextToSpeech(this, this);
tts.setLanguage(Locale.US);
tts.speak("Text to say aloud", TextToSpeech.QUEUE_ADD, null);

Top comments (0)