I've got a TabActivity with 4 tabs in it. I have a service that is running - this service runs even after my TabActivity has been destroyed.
When the Service receives an event, I create a notification. The TabActivity may, at this time, be destroyed, or just running in the background.
How can I create a Notification/PendingIntent that will bring either launch the TabActivity if it is not currently running, or bring it to the front if it already is, and focus a specific tab based on the event?
I've thought about registering a broadcast receiver programmatically from within the TabActivity, and with this I'll be able to focus the tab, but how would I make the TabActivity the active Activity?