Samsung's TWLauncher allows apps to create badge counts on app icons.
This is completely undocumented! There is no mention of it anywhere, and only a handful of apps are using it (e.g. Facebook, eBay).
How do you use this functionality to add a count to your app icon?
This is very specific to Samsung devices. I am not asking about Android in general. I'm only asking about badging Samsung's Touchwhiz interface which currently allows badging. Android does not.
add these permissions to manifest
add these package names to your class :
for use :
thanks to ShortcutBadger