BadgeUtil provides static utility methods to set "badge count" on Launcher (by Samsung, LG).
Captured from Samsung Galaxy S3
Captured from Samsung Galaxy S4
Captured from LG G3
BadgeUtil.setBadgeCount(Context, count);
BadgeUtil.resetBadgeCount(Context);
Currently, it's working from Android 4.0. But some devices, which are released from the manufacturers, are not working.
You should reset badge count at first launch because the old count could be saved even after uninstall application.
MIT License