質問

I believe every Notification sent to my device has a source, and a code.

I wish to know how to get The name of the application that originated the notification sent to my device, i.e. i want to do things if whatsapp send me a Notification, but how do i know that the Whatsapp app send that notification? Basically that's it.

Im making Android apps with Eclipse in java.

役に立ちましたか?

解決

This should have really been a comment. Take a look at: Detect a new Android notification

It's exactly what you are looking for.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top