I have some queries when it comes to notification on android programming. I have read up on the notificationmanager, notification and notificationbuilder but it doesn't seem to allow it to listen for notifications.
What I am trying to do is when a notification is send by any application, I will be able to know the contents of it. Is that actually possible and how can it be done?
There is currently no generic way to intercept Notifications sent from other applications.
With API level 18 release, there is now a NotificationListenerService. http://developer.android.com/reference/android/service/notification/NotificationListenerService.html
You might want to have a look at
AccessibilityEvent
NOTIFICATION TYPES
Notification state changed - represents the event showing Notification.
Type: TYPE_NOTIFICATION_STATE_CHANGED
Properties: