I have a TabActivity with 4 tabs. I have a service that works - this service starts even after my TabActivity has been destroyed.
When the Service receives an event, I create a notification. Currently TabActivity can be destroyed or just run in the background.
How can I create a Notification / PendingIntent that will launch TabActivity if it is not currently running, or bring it to the forefront if it already exists and focus a specific tab based on the event?
I thought about registering the broadcast receiver from TabActivity programmatically, and with this I can focus the tab, but how can I activate the TabActivity active activity?
source
share