@Override
    public void executeBadge(Context context, ComponentName componentName, int badgeCount) throws ShortcutBadgeException {
        ContentValues contentValues = new ContentValues();
        contentValues.put(TAG, componentName.getPackageName() + "/" + componentName.getClassName());
        contentValues.put(COUNT, badgeCount);
        context.getContentResolver().insert(Uri.parse(CONTENT_URI), contentValues);
    }
Shortcut Badger support for Nova Launcher.
TeslaUnread must be installed.
User: Gernot Pansy
Date: 2014/11/03
Time: 7:15
app/src/main/java/home/smart/fly/animations/widget/clearbadge/impl/NovaHomeBadger.java