Android-如何将徽章计数添加到应用程序图标? [英] Android - how to add a badge count to an application icon?
问题描述
如何在主屏幕上的应用程序图标上添加徽章计数,例如内置的gmail应用程序,facebook应用程序.我可以在Samsung和Sony设备上运行.但是其他诸如摩托罗拉,Micromax,HTC和LG均未设置Badge.
how to add badge count on app icon on homescreen , like inbuilt gmail app, facebook app. I can run with Samsung and Sony devices. But others like Motorola , Micromax, HTC , LG does not sets Badge.
那么如何为所有android设备设置徽章计数?
So how to set badge count for all android devices?
推荐答案
当前不可能仅针对某些设备来定位所有android设备".
It is currently not possible to target "all android devices", only for some.
某些制造商(例如三星)已将此功能纳入其自定义的Android启动器中.另外,一些第三方启动器(例如Nova Launcher)都包含一个API来完成此操作.
Certain manufacturers (e.g. Samsung notably) have included this functionality into their customised Android launchers. Also some 3rd-party launchers (e.g. Nova Launcher) have included an API to accomplish this.
Stock Android目前在标准启动器上不提供此功能.
Stock Android does not offer this functionality at the moment on the standard launcher.
我刚刚看到这是重复的:
I have just seen that this is a duplicate of:
- 关于这种类型的事情还有许多其他相关文章:
There are many other related posts about this type of thing:
- Facebook如何运作在Android的应用程序图标上添加徽章编号?
- 在android中的应用程序图标上添加通知徽章
- 如何在Sony Xperia设备上的应用程序图标上添加通知标志/计数?
- 如何在android上制作应用程序徽章?
- 如何在应用启动器中显示通知计数图标
- How does Facebook add badge numbers on app icon in Android?
- https://stackoverflow.com/questions/18205569/does-samsung-modifies-its-android-roms-to-have-badges-on-email-and-sms-icons?rq=1
- adding notification badge on app icon in android
- How to interface with the BadgeProvider on Samsung phones to add a count to the app icon?
- How to add a notification badge/count to application icon on Sony Xperia devices?
- How to make application badge on android?
- How to display count of notifications in app launcher icon
您可以在此处找到更多信息.
You can find more information there.
这篇关于Android-如何将徽章计数添加到应用程序图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!