talkback isn't reading alert dialog content

241 views
Skip to first unread message

João de Sousa e Silva

unread,
Jan 25, 2011, 4:04:37 PM1/25/11
to tts-for...@googlegroups.com
Dear all,

I am trying to write an application that should have some alert dialogs.
Unfortunatly talkback is not reading the content text of the alert box
of my sample code.

Here it is the code:

AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("talkback test").setPositiveButton("OK", new
DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.cancel();}
}).show();

This code is placed on the onCreate method of the starting activity.

What am I doing wrong? May you help me?

Many thanks.

Reply all
Reply to author
Forward
0 new messages