ShortcutBadger alternatives and similar packages
Based on the "Other Widget" category.
Alternatively, view ShortcutBadger alternatives based on common mentions on social networks and blogs.
-
AndroidSlidingUpPanel
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano. -
BottomBar
(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern. -
SystemBarTint
[DEPRECATED] Apply background tinting to the Android system UI when using KitKat translucent modes -
TapTargetView
An implementation of tap targets from the Material Design guidelines for feature discovery. -
android-viewbadger
[DEPRECATED] A simple way to "badge" any given Android view at runtime without having to cater for it in layout -
android-stackblur
Android StackBlur is a library that can perform a blurry effect on a Bitmap based on a gradient or radius, and return the result. The library is based on the code of Mario Klingemann. -
android-iconify
Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,... -
DraggablePanel
DISCONTINUED. Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component. -
aFileChooser
DISCONTINUED. [DEPRECATED] Android library that provides a file explorer to let users select files on external storage. -
Swipecards
A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content. -
TourGuide
TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View -
StickyGridHeaders
DISCONTINUED. An Android Library that makes it easy to make grid views with sectioned data and headers that stick to the top. -
FloatingView
FloatingView can make the target view floating above the anchor view with cool animation -
TileView
TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing. -
Bubbles for Android
Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development. -
RippleView
View that imitates Ripple Effect on click which was introduced in Android L (for Android 2.3+) -
Android-ActionItemBadge
This library offers a simple method to add a small badge icon to your ActionBar-MenuItem -
android-sliding-layer-lib
DISCONTINUED. Highly customizable SlidingLayer as you have seen in Wunderlist -
SortableTableView
An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs. -
ScratchView
ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal. -
FabricView
A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out -
android-FlipView
A small, easy to use android library for implementing flipping between views as seen in the popular Flipboard application
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ShortcutBadger or a related project?
README
ShortcutBadger:
The ShortcutBadger makes your Android App show the count of unread messages as a badge on your App shortcut!
Supported launchers:
Sony Samsung LG HTC Xiaomi ASUS ADW APEX NOVA Huawei (Not Fully Support) (1.1.7+) ZUK (1.1.10+) OPPO (Not Fully Support) (1.1.10+) EverythingMe ZTE (1.1.17+) KISS (1.1.18+) LaunchTime Yandex Launcher (1.1.23+)
- Nova launcher with TeslaUnread, Apex launcher, ADW Launcher provided by notz
- Solid launcher provided by MajeurAndroid
- KISS Launcher provided by alexander255
About Xiaomi devices
Xiaomi devices require extra setup with notifications, please read wiki.
IsBadgeWorking?
A tool for displaying your device, launcher & android version and testing whether ShortcutBadger works or not may be downloaded from
- Google Play https://play.google.com/store/apps/details?id=me.leolin.isbadgeworking
- The GitHub repository https://github.com/leolin310148/IsBadgeWorking.Android/releases
USAGE
1. Add mavenCentral to your build script.
repositories {
mavenCentral()
}
2. Add dependencies for ShortcutBadger, it's available from maven now.
dependencies {
implementation "me.leolin:ShortcutBadger:1.1.22@aar"
}
3. Add the codes below:
int badgeCount = 1;
ShortcutBadger.applyCount(context, badgeCount); //for 1.1.4+
ShortcutBadger.with(getApplicationContext()).count(badgeCount); //for 1.1.3
4. If you want to remove the badge
ShortcutBadger.removeCount(context); //for 1.1.4+
ShortcutBadger.with(getApplicationContext()).remove(); //for 1.1.3
or
ShortcutBadger.applyCount(context, 0); //for 1.1.4+
ShortcutBadger.with(getApplicationContext()).count(0); //for 1.1.3
DEVELOP BY
ABOUT Google Play Developer Term Violations
If you receive a message from Google containing something like this:
REASON FOR WARNING: Violation of section 4.4 of the Developer Distribution Agreement.
please use version 1.1.0+!
CHANGE LOG
1.1.23:
- Added Yandex Launcher support. Fixed issue with incorrect default launcher resolve
1.1.22:
- Improve Oreo support (Thanks to AlexStarc)
1.1.20:
- Renamed default broadcast action; added Android Oreo support.
1.1.19:
- Fix multiple home package resolve issue.
1.1.18:
- Add Kill Launcher Support
1.1.17:
- Add ZTE Support
1.1.16:
- Improve Sony Launcher support.
1.1.15:
- Add EverythingLauncher Support.
1.1.14:
- Fix for specific class of Samsung devices: with android 5, but without support of DefaultBadger
- Remove Xiaomi from Badger and add Notification Support for Xiaomi devices.
1.1.13:
- Fix XiaomiBadger (tested with RedMi Note4)
1.1.12:
- Handling Samsung badger for old devices and new devices.
- Try to support newer Xiaomi (Not tested.)
- Try to support Vivo (Not tested.)
1.1.11:
- Add OPPO Launcher Support
1.1.10:
- Add ZUK Launcher Support
1.1.9:
- Add SamsungBadger back for more Samsung devices support.
1.1.8:
- Remove SolidBadger, now solid launcher will use default badger.
1.1.7:
- Add Huawei launcher support.
1.1.6:
- Add support for new Sony Launchers.
1.1.5:
applyCount
will return if the Broadcast has been sent successfully.
1.1.4:
- Changed
ShortcutBadger.setBadge(context, badgeCount)
toShortcutBadger.applyCount(context, badgeCount);
1.1.3:
- Deprecate SamsungBadger and LGBadger, those devices can use DefaultBadger.
1.1.2:
- Add support for
com.miui.mihome2
1.1.1:
- Add DefaultBadger because some launchers use android.intent.action.BADGE_COUNT_UPDATE to update count.
- Since the ShortcutBadgerException is helpless. So change api to set badge and never have to handle the exception again.
1.1.0:
- Remove Android Launcher support due to Google Play Developer Term Violation since 4.4.
1.0.10:
- Add Asus launcher support.
1.0.9:
- Add Xiaomi launcher support.
LICENSE
Copyright 2014 Leo Lin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the ShortcutBadger README section above
are relevant to that project's source code only.