I am writing NotificationListenerService ,
where I want to get the details of notification sent to status bar.
But only thing we get is Ticket text , which is null in some cases.
Correct, ticker text is not a required field when building a notification. In fact, the only required notification contents are:
icon
Unfortunately, the extras
bundle is only available on Android 4.4 (KitKat) devices - previous versions do not have any easy access to this data - you only have access to the RemoteViews
which you'd need to inflate and parse manually (definitely not recommended).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With