Is there any way to get the package name of the activity that is about to replace my activity? For example say I'm in my own application and I get an email, and I use the notification bar to open that application. Is there any way to identify the package name that is going to send my activity thread in Pause?
Thank you!