This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Android and the fly likes How to get view reference from non activity and how to perform event handling ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to get view reference from non activity and how to perform event handling ?" Watch "How to get view reference from non activity and how to perform event handling ?" New topic
Author

How to get view reference from non activity and how to perform event handling ?

sadasiva kumar
Ranch Hand

Joined: Oct 30, 2003
Posts: 91
I have created a 2 buttons in an activity in a package app and i wanted to control 2nd button event in another class called Control in another package called control.How can i get view reference from non activity.Please explain me how we can approach for this problem
Thank you in advance


SADASIVAKUMAR UTTI, SCJP1.4
A bend in the road is not the end of the road ... unless you fail to make the turn.
 
Consider Paul's rocket mass heater.
 
subject: How to get view reference from non activity and how to perform event handling ?