问题
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