Ashwani Rao wrote:
> Hi,
>  
> i have created an activity which brings an UI with buttons for various
> actions.
> I want to associate various actions/call with these buttons.
> How i can do this ?
> For example i  click a button the then i should move to different screen.

You need to add OnClickListeners to the Buttons (via
setOnClickListener()) to get control when they are clicked. You can use
Activity#startActivity() to then launch another activity, or do whatever
you like.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to