How can I get the text from a pressed button? (Android)
I can get the text from a button:
String buttonText = button.getText();
I c
Try this,
Button btn=(Button)findViewById(R.id.btn); String btnText=btn.getText();