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?
Enable and check notification history on AndroidSwipe up from the homescreen to open the app drawer menu. Find and open the Settings app (it looks like a gear icon). Open Notifications. Select Notification history.
If you want to change badge with number, you can be changed in NOTIFICATION SETTING on the notification panel or Settings > Notifications > App icon badges > Select Show with number.
Android proposes several types of notifications to inform the user: notifications in the system bar. sound notifications.
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 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