Possible Duplicate:
Android Activity Life Cycle - difference between onPause() and OnStop()
my question is about if it is possible to detect when an Android activity starts/ends.
The idea would be to have a listener o callback method to execute some code during those events, but I can't find anyone :_(
Thank you very much in advance for your help!!!