I'm trying to make my application (a calculator) accessible in TalkBack and Explore By Touch modes.
Setting it up so that all of the buttons are accessible was easy, just a matter of setting the android:contentDescription attribute.
But how do I get the app to simply announce things? E.g. if the user does "2 + 2 =", I want the voice to say "4". Now, the user could hear the result by selecting the TextView holding the answer, but I think the app would be a lot more useable if it just announced the result.
I also want to announce the annunciator, e.g. "Error: divide by zero"
Alternative way to phrase my question: How do I trigger a talkback event on a widget?