• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to know which button is click in previous Intent

Hi All
In my App in menu view a 6 image button are there,when first button is click one Intent is working.when second is click second is working.but i want to know which button is click in next class where intent is working and use that for some condition.please help me.
 
restatement:

In my application, I have 6 independent view objects with on click handlers that each launch another activity via an intent (implicit or explicit). How can I know which view object initiated this intent?

Would that be a fair translation of your question?

If so, you can use putExtra() to bind data to the Intent call, which the receiving Activity can then unbundle from the call.
 
Back
Top Bottom