How to display unread count to the android app icon?
android
Solution
Unfortunately, You can't do that on application icon. Android doesn't allow that.
But you can do that using widget. There are many question related this, check it first.
Question 1
Question 2
Question 3
Widget Example
Widget Link
Update : 24/04/2015
Now this is possible for some launcher app.
Check this ShortcutBadger and BadgeUtils
Update
Android allow Modify a Notification Badge from Android 8.0 (PI level 26).
Problem
I want to display the unread count to the application icon. I refer the lots of stack overflow answers for achieving that. All the links are saying that it is not possible. But android Mail, Message application displays the unread count at the top of the icon and in some links says that use widget instead of icons. But I don't know how to use the widget instead of icon displays in android application. Like the above image I want to display unread count in my application icon.
Related problems
- How to get text on an ActionBar Icon?
- How to display count of notifications in app launcher icon
- Is there a way to add a badge to an application icon in Android?
- Add new item count to icon on button - Android
- Android: add badge to icons internal to my app
- can we show badge number on android app icon like iphone?