/android-badge

BadgeUtil provides static utility methods to set "badge count" on Launcher (by Samsung, LG).

Primary LanguageJavaMIT LicenseMIT

Android-badge

BadgeUtil provides static utility methods to set "badge count" on Launcher (by Samsung, LG).

Screenshots

Captured from Samsung Galaxy S3

Captured from Samsung Galaxy S3

Captured from Samsung Galaxy S4

Captured from Samsung Galaxy S4

Captured from LG G3

Captured from LG G3

API Usage

BadgeUtil.setBadgeCount(Context, count);

BadgeUtil.resetBadgeCount(Context);

Limitation

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.

License

MIT License