In your Java code, you can get these three buttons by: findViewById(); - assume that you have already set id for these buttons in the xml file
Then you can add OnClickListener to each of them, to perform specific task seperately. --Johnny On Feb 23, 9:13 pm, gganesh <[email protected]> wrote: > hi friends, > I have 3 buttons on the screen and i have to perform different task > according to the button clicked ,how can i check which button is > clicked > Thanks in Advance > ganesh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

