[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4232":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":27,"discoverSource":28},4232,"ShortcutBadger","leolin310148\u002FShortcutBadger","leolin310148","An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers.","",null,"Java",7334,1341,216,183,0,2,40.38,"Other",false,"master",true,[],"2026-06-12 02:01:00","ShortcutBadger: [![Maven Central](https:\u002F\u002Fmaven-badges.herokuapp.com\u002Fmaven-central\u002Fme.leolin\u002FShortcutBadger\u002Fbadge.svg)](https:\u002F\u002Fmaven-badges.herokuapp.com\u002Fmaven-central\u002Fme.leolin\u002FShortcutBadger)\n===================================\n\nThe ShortcutBadger makes your Android App show the count of unread messages as a badge on your App shortcut!\n\n# Supported launchers:\u003Cbr\u002F>\n\n\u003Ctable>\n    \u003Ctr>\n        \u003Ctd width=\"130\">\n            \u003Ch3>Sony\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_sony.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>Samsung\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_samsung.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>LG\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_lg.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>HTC\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_htc.png\"\u002F>\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n    \u003Ctr>\n        \u003Ctd width=\"130\">\n            \u003Ch3>Xiaomi\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_xiaomi.png\"\u002F>\n            \u003Cbr>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>ASUS\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_asus.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>ADW\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_adw.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>APEX\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_apex.png\"\u002F>\n        \u003C\u002Ftd>\n    \u003Ctr>\n        \u003Ctd width=\"130\">\n            \u003Ch3>NOVA\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_nova.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>Huawei\u003C\u002Fh3>\n            \u003Cbr>\n            (Not Fully Support)\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_huawei.png\"\u002F>\n            \u003Cbr>\n            (1.1.7+)\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>ZUK\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_zuk.png\"\u002F>\n            \u003Cbr>\n            (1.1.10+)\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>OPPO\u003C\u002Fh3>\n            \u003Cbr>\n            (Not Fully Support)\n            \u003Cbr>\n            \u003Cimg src=\"screenshots\u002Fss_oppo.png?raw=true\"\u002F>\n            \u003Cbr>\n            (1.1.10+)\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n    \u003Ctr>\n        \u003Ctd width=\"130\">\n            \u003Ch3>EverythingMe\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_evme.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"130\">\n            \u003Ch3>ZTE\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_zte.png\"\u002F>\n            \u003Cbr>\n            (1.1.17+)\n        \u003C\u002Ftd>\n        \u003Ctd width=\"260\" colspan=\"2\">\n            \u003Ch3>KISS\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_kiss.png\"\u002F>\n            \u003Cbr>\n            (1.1.18+)\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n    \u003Ctr>\n        \u003Ctd width=\"130\">\n            \u003Ch3>LaunchTime\u003C\u002Fh3>\n            \u003Cbr>\n            \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_launchtime.png\"\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd width=\"260\" colspan=\"2\">\n                    \u003Ch3>Yandex Launcher\u003C\u002Fh3>\n                    \u003Cbr>\n                    \u003Cimg src=\"https:\u002F\u002Fraw.github.com\u002Fleolin310148\u002FShortcutBadger\u002Fmaster\u002Fscreenshots\u002Fss_yandex.png\"\u002F>\n                    \u003Cbr>\n                    (1.1.23+)\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n* Nova launcher with TeslaUnread, Apex launcher, ADW Launcher provided by [notz](https:\u002F\u002Fgithub.com\u002Fnotz)\n* Solid launcher provided by [MajeurAndroid](https:\u002F\u002Fgithub.com\u002FMajeurAndroid)\n* KISS Launcher provided by [alexander255](https:\u002F\u002Fgithub.com\u002Falexander255)\n\n## About Xiaomi devices\nXiaomi devices require extra setup with notifications, please read [wiki](https:\u002F\u002Fgithub.com\u002Fleolin310148\u002FShortcutBadger\u002Fwiki\u002FXiaomi-Device-Support).\n\n## IsBadgeWorking? \n\nA tool for displaying your device, launcher & android version and testing whether ShortcutBadger\nworks or not may be downloaded from\n\n* Google Play [https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=me.leolin.isbadgeworking](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=me.leolin.isbadgeworking)\n* The GitHub repository [https:\u002F\u002Fgithub.com\u002Fleolin310148\u002FIsBadgeWorking.Android\u002Freleases](https:\u002F\u002Fgithub.com\u002Fleolin310148\u002FIsBadgeWorking.Android\u002Freleases)\n\n\nUSAGE\n===================================\n\u003Cbr\u002F>1. Add mavenCentral to your build script.\n\n        repositories {\n            mavenCentral()\n        }\n    \n\u003Cbr\u002F>2. Add dependencies for ShortcutBadger, it's available from maven now.\n        \n        dependencies {\n            implementation \"me.leolin:ShortcutBadger:1.1.22@aar\"\n        }\n\n\u003Cbr\u002F>3. Add the codes below:\n\n        int badgeCount = 1;\n        ShortcutBadger.applyCount(context, badgeCount); \u002F\u002Ffor 1.1.4+\n        ShortcutBadger.with(getApplicationContext()).count(badgeCount); \u002F\u002Ffor 1.1.3\n        \n\u003Cbr\u002F>4. If you want to remove the badge\n        \n        ShortcutBadger.removeCount(context); \u002F\u002Ffor 1.1.4+\n        ShortcutBadger.with(getApplicationContext()).remove();  \u002F\u002Ffor 1.1.3\nor\n        \n        ShortcutBadger.applyCount(context, 0); \u002F\u002Ffor 1.1.4+\n        ShortcutBadger.with(getApplicationContext()).count(0); \u002F\u002Ffor 1.1.3\n\u003Cbr\u002F>\n\u003Cbr\u002F>\n\u003Cbr\u002F>\n\u003Cbr\u002F>\n\n\nDEVELOP BY\n===================================\n[Leo Lin](https:\u002F\u002Fgithub.com\u002Fleolin310148) - leolin310148@gmail.com\n\n\nABOUT Google Play Developer Term Violations\n===================================\nIf you receive a message from Google containing something like this:\u003Cbr\u002F> \n\n        REASON FOR WARNING: Violation of section 4.4 of the Developer Distribution Agreement.\n        \nplease use version 1.1.0+!\n\n\n\nCHANGE LOG\n==========\n\n1.1.23:\n\n* Added Yandex Launcher support. Fixed issue with incorrect default launcher resolve\n\n1.1.22:\n\n* Improve Oreo support (Thanks to [AlexStarc](https:\u002F\u002Fgithub.com\u002FAlexStarc))\n\n1.1.20:\n\n* Renamed default broadcast action; added Android Oreo support.\n\n1.1.19:\n\n* Fix multiple home package resolve issue.\n\n1.1.18:\n\n* Add Kill Launcher Support\n\n1.1.17:\n\n* Add ZTE Support\n\n1.1.16:\n\n* Improve Sony Launcher support.\n\n1.1.15:\n\n* Add EverythingLauncher Support.\n\n1.1.14:\n\n* Fix for specific class of Samsung devices: with android 5, but without support of DefaultBadger\n* Remove Xiaomi from Badger and add Notification Support for Xiaomi devices.\n\n1.1.13:\n\n* Fix XiaomiBadger (tested with RedMi Note4)\n\n1.1.12:\n\n* Handling Samsung badger for old devices and new devices.\n* Try to support newer Xiaomi (Not tested.)\n* Try to support Vivo (Not tested.)\n\n1.1.11:\n\n* Add OPPO Launcher Support\n\n1.1.10:\n\n* Add ZUK Launcher Support\n\n1.1.9:\n\n* Add SamsungBadger back for more Samsung devices support.\n\n1.1.8:\n\n* Remove SolidBadger, now solid launcher will use default badger.\n\n1.1.7:\n\n* Add Huawei launcher support.\n\n1.1.6:\n\n* Add support for new Sony Launchers.\n\n1.1.5:\n\n* `applyCount` will return if the Broadcast has been sent successfully.\n\n1.1.4:\n\n* Changed `ShortcutBadger.setBadge(context, badgeCount)` to `ShortcutBadger.applyCount(context, badgeCount);`\n\n1.1.3:\n\n* Deprecate SamsungBadger and LGBadger, those devices can use DefaultBadger.\n\n1.1.2:\n\n* Add support for `com.miui.mihome2`\n\n1.1.1:\n\n* Add DefaultBadger because some launchers use android.intent.action.BADGE_COUNT_UPDATE to update count.\n* Since the ShortcutBadgerException is helpless. So change api to set badge and never have to handle the exception again.\n\n1.1.0:\n\n* Remove Android Launcher support due to Google Play Developer Term Violation since 4.4.\n\n1.0.10:\n\n* Add Asus launcher support.\n\n1.0.9:\n\n* Add Xiaomi launcher support.\n\n\nLICENSE\n===================================\n\u003Cbr\u002F>\n        \n        Copyright 2014 Leo Lin\n        \n        Licensed under the Apache License, Version 2.0 (the \"License\");\n        you may not use this file except in compliance with the License.\n        You may obtain a copy of the License at\n        \n            http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n        \n        Unless required by applicable law or agreed to in writing, software\n        distributed under the License is distributed on an \"AS IS\" BASIS,\n        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        See the License for the specific language governing permissions and\n        limitations under the License.\n\u003Cbr\u002F>\n","ShortcutBadger 是一个 Android 库，支持在三星、LG、索尼和 HTC 等启动器上显示类似 iOS 的应用图标角标。该项目的核心功能是让开发者能够轻松地为其应用程序添加未读消息计数的角标提示，从而提升用户体验。它通过 Java 语言实现，并且已经广泛支持了市场上主流的多种启动器。对于需要增强用户交互性和通知可见性的移动应用开发者来说，这是一个非常实用的工具。无论是在社交软件、邮件客户端还是其他任何需要即时信息反馈的应用场景中，ShortcutBadger 都能发挥重要作用。","2026-06-11 02:59:07","top_language"]