Regarding Android badge notification processing

Asked 2 years ago, Updated 2 years ago, 37 views

Each Android launcher basically uses "android.int.action" to show the badge.Use the "BADGE_COUNT_UPDATE" action.

If you send broadcast with information about package, class, and badge count in the above action on each app, In Launcher, the number is displayed on the icon with the information transferred through the above action.

To show notification information for apps that didn't use the above action, What's the way?

In the case of a Samsung terminal, it is located in the content://com.sec.badge/apps profiler You get the information and you show the badge number, and you get the value for the badge number I wonder if you save it in the db.

I thought that if Notification comes out, I can catch it and take care of it I don't think I can synchronize with the notification information inside the app. (Inside the app, the user is If you see the notification, you have to clear it in the launcher, and you get 100% of the notification 100% It's not like that')

I'd appreciate it if you could let me know if anyone knows about this.

android badge

2022-09-22 12:37

1 Answers

Perhaps the contents you inquired about are dependent on the launcher. If it is not implemented according to the broadcast, I think we have no choice but to contact the place where the launcher was manufactured (in this case, the terminal manufacturer). And in this case, it's not a standard interface, so you have to take into account that the interface may vary depending on the situation.


2022-09-22 12:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.