Get the count of the latest statusbar notifications in Android

♀尐吖头ヾ 提交于 2019-12-24 06:40:45

问题


I have a Google TV and find the Home app can display the count of the latest statusbar notifications. Does anyone know how to implements this function?


回答1:


You cannot get the count of notifications sent from other apps in Android. Only system apps can do that. You could keep track of the number of notifications that your app is sending but I don't think that is what you are looking for.



来源:https://stackoverflow.com/questions/10996849/get-the-count-of-the-latest-statusbar-notifications-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!