SyntaxFix
Write A Post
Hire A Developer
Questions
Try to use:
String buttonText = ((Button)v).getText().toString();