In a Service extending the new (SDK18, JB-4.3) NotificationListenerService, I\'d like to get the Notification\'s status bar icon.
NotificationListenerService
mStatusBarNotif
Use getPackageName() on StatusBarNotification to find out the app that posted the Notification. You can then use createPackageContext() to get a Context for that package, then use that Context to retrieve the image (e.g., via getResources()).
getPackageName()
StatusBarNotification
Notification
Context
getResources()