Wednesday, September 26, 2018

Android: How to check if an application has new inner notifications (ticker)?

Leave a Comment

I don't want to read status bar notifications, I already know how to do that using the following tutorial:

http://www.androiddevelopersolutions.com/2015/05/android-read-status-bar-notification.html

Majority launchers shows a ticker (red circle or number) indicating that an application (As Facebook, Telephone, Messages, etc.) has un-previewed notifications, which is not available in Notifications Panel.

How to accomplish this? How to find that an application (Using it's package name / Activity Name) has an active inner notifications?

Thank you, and please if the question not clear let me know, no need for down vote.

1 Answers

Answers 1

The name of the circle/number is Badge. From Android Developers:

notification badges (also known as notification dots) appear on a launcher icon when the associated app has an active notification

Therefore it seems like the badges will turn up in the NotificationListenerService (as described in your provided link) since they are based on "real" notifications.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment