# leolin310148/shortcutbadger

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/leolin310148-shortcutbadger).**

7,334 stars · 1,340 forks · Java · NOASSERTION

## Links

- GitHub: https://github.com/leolin310148/ShortcutBadger
- awesome-repositories: https://awesome-repositories.com/repository/leolin310148-shortcutbadger.md

## Description

ShortcutBadger is an Android notification badge library and UI component designed to display numeric unread counts on application shortcuts. It functions as a cross-launcher badge manager to ensure notification consistency across different device manufacturers.

The library provides compatibility for various Android launchers, including those from Samsung, LG, Sony, and HTC. It implements this by mapping generic badge requests to manufacturer-specific internal APIs and utilizing dynamic vendor detection.

The project covers mobile notification management and system-level badge updates to reflect unread message counts on the home screen.

## Tags

### Mobile Development

- [Android Notification Badges](https://awesome-repositories.com/f/mobile-development/android-notification-badges.md) — Provides a library for displaying numeric unread counts as badges on application shortcuts for Android devices.
- [Device Vendor Detection](https://awesome-repositories.com/f/mobile-development/device-vendor-detection.md) — Identifies the device manufacturer during initialization to select the appropriate badge implementation strategy.
- [Mobile Notification Managers](https://awesome-repositories.com/f/mobile-development/mobile-notification-managers.md) — Updates system badge counts dynamically to reflect the current state of unread notifications within an Android app.
- [System Intent Task Triggering](https://awesome-repositories.com/f/mobile-development/system-intent-task-triggering.md) — Triggers badge updates by sending specific system intents that target the launcher application's internal listener.
- [Android Libraries](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-libraries.md) — Ships as a pre-written code module to extend notification badge functionality in Android applications.
- [Android UI Components](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-ui-components.md) — Provides specialized interface elements for implementing notification badges on the Android operating system.

### Software Engineering & Architecture

- [Vendor API Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/vendor-api-abstractions.md) — Maps generic badge requests to the unique internal APIs of different device manufacturers for cross-vendor compatibility.

### User Interface & Experience

- [Badges](https://awesome-repositories.com/f/user-interface-experience/badges.md) — Ensures notification badge consistency across various device launchers including Samsung, LG, Sony, and HTC.
- [Notification Badges](https://awesome-repositories.com/f/user-interface-experience/notification-badges.md) — Updates system notification counts to reflect unread messages on devices that support linked badges. ([source](https://github.com/leolin310148/ShortcutBadger/wiki/Xiaomi-Device-Support))
- [Notification Indicators](https://awesome-repositories.com/f/user-interface-experience/user-interface-design/notification-indicators.md) — Implements iOS-style notification badges to alert users of pending updates on the Android home screen.

### Programming Languages & Runtimes

- [Dynamic Method Invocation](https://awesome-repositories.com/f/programming-languages-runtimes/dynamic-method-invocation.md) — Uses reflection to access hidden system methods in manufacturer launchers by resolving signatures at runtime.
