I have a service which has an Activity UI. The UI shows the progress of the service and schedules work for it.
As a result, the user can dismiss the Activity/UI and do other work whilst the service continues in the background.
When the service has an issue and requires input, it can only communicate with the user via the notifications bar.
I have managed to get it so that the notification will bring up the Activity/UI when you click a notification from the service, but the extras which the service put into the intent to create the notification are missing from the intent obtained in the activity's onResume() method when you call getIntent().
Can anyone tell me how the service can create a notification in the task bar which contains extra information so that when the user clicks the notification, the activity starts and can interrogate the intent to find out WHAT the issue is and ask the user the correct question, so that it can send the service the correct reply?
Thanks in advance!