Search code examples
androidaccessibilitytalkback

Is there way to make talkback speak?


While making my application accessible, I have a problem - there's no way to make it SPEAK!!

By referencing google's library, I make

public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)

on my customized view and I get right event message - I checked it by using Log.d
However, there's no way to make talkback to speak...
My Application runs from API8 so I can't use also,

onPopulateAccessibilityEvent()

Am I thinking wrong? Please somebody help me...


Solution

  • If you want it to speak, use the TextToSpeech API. It takes a string and reads it outloud.