Is there any simple way of determining whether or not a certain activity is active?
I want to do certain things depending on which activity is active.
eg:
if(activityrunning == activity1)
//do this
else if (activityrunning == activity2)
//do something else