There is several situations when receiving a remote notification:

1. app is not launched at all
2. app is foreground
3. app is background

what I am looking for is that user haven't click the notification to launch or active the app. can we catch the receiving and do some thing in such three situation?

I know 2 is ok, how about 1 and 3, and how to do it? thx a lot.

somebody mentions widget or NotificationService? is it possible?