FORUMS
Remove All Ads from XDA

[MOD][Xposed] Notification Count

264 posts
Thanks Meter: 599
 
Post Reply Email Thread
Requires Xposed Framework by rovo89. Special thanks to him!

Notification Count badge for all Android versions
Shows a notification count badge on StatusBar icons providing a quantity.
Makes this badge customizable and extendable.


StatusBar screenshot of one possible result of this module.

This module adds a badge with a number next to notification icons, when the notification has a quantity (e.g. messages).
This is a built-in Android functionality, this module works as enabler for this function.

See Xposed Repo information for details about the current features of the module.

Download
You can download this mod from the Xposed Repo official website:
http://repo.xposed.info/module/com.w...sed.notifcount
Alternatively, there is always an APK on GitHub tied to a release tag.
But for Download counting purposes, I would ask you to use the Xposed Repo if it's no problem for you.

Have fun with the module!

Bug reporting:
IMPORTANT. Please read.
Please do not report bugs like "Hey noob-dev, it doesn't work, bye.".
Always attach at least your Xposed log to an error report.
Also, additional information can never be bad. Android version, Xposed version, device/ROM; exact behavior when the error occurs (e.g. "No number badge is shown, on no notifications, neither on the debug notifications nor on any app's.").
This will make fixing easier, faster and better to understand for everybody in the thread maybe having the same issue.
Thank you.

Changelog:

Version 3.2
  • Fixed some Xposed errors on Marshmallow.
  • Added secure lockscreen count.
Version 3.1
  • New app list engine.
    • RAM management should be better.
    • Loading time is a lot faster.
    • The list is searchable.
  • Switch to Material design on older devices, too; smaller UI changes.
  • Added "Extract number from notification content".
  • Fixed system integration on HTC Sense Lollipop devices.
  • Added possibility to change alpha value of number badges.
Version 3.0
  • You can now adjust the notification badge style freely (color, size).
  • You can now change the behavior of the 'Exception list' from blacklist to whitelist (again).
  • The Notification Count settings can now be integrated into Android's notification long-click menu.
Version 2.0
  • Cancel test notifications before sending new ones, to apply appearance changes faster.
  • Added Russian language (partially). Thanks GitHub user GromozavrStas.
  • Added `auto-decide` feature:
    • Automatically choose which way to use to fetch a number from a notification that does not provide a value by itself.
      Use either the title, summary or update count for this purpose.
    • Some apps that cause problems can be forced to use a specific way of the available ones.
    • UI updates to fit those needs.
Version 1.1.1-re
  • Fixed bug that only let save whitelist items currently visible on screen.
Version 1.1-re
  • Added ability to hide launcher icon.
  • New 'workaround' mode: Extract number from notification description.
    This new mode only works on KitKat and later for now.
    Only enable this for apps that provide a notification number in their notification's small description!
Version 1.0-re
Restart of version numbering.
Initial version.

Main changes against the old module:
- Added support for Lollipop.
- Added ability to customize number badge.

See https://github.com/woalk/NotifCount/...es/tag/v1.0-re for full version changes against the old module.
See the git tag description of this release (can be found under https://github.com/woalk/NotifCount/tags) for programmer-related changelog.


Author & Copyright Information
This module was first developed by GitHub user bbukowski.
His version was not updated since August 2014, and did not work on Lollipop.
I forked his repo and added my changes.
I added a pull request for my changes and will let him keep the 'right' ownership about this module if he wants to.
Look for README.md in my GitHub repo of this module for more information.

XDA:DevDB Information
Notification Count, Xposed for all devices (see above for details)

Contributors
Woalk, bbukowski
Source Code: https://github.com/woalk/NotifCount

Xposed Package Name: com.woalk.apps.xposed.notifcount

Version Information
Status: Stable
Current Stable Version: v3.2
Stable Release Date: 2016-05-31

Created 2015-05-06
Last Updated 2016-06-02
Attached Thumbnails
Click image for larger version

Name:	scr1.png
Views:	15088
Size:	161.1 KB
ID:	3377088   Click image for larger version

Name:	scr2.jpg
Views:	14990
Size:	140.7 KB
ID:	3377089   Click image for larger version

Name:	scr3.png
Views:	14864
Size:	160.0 KB
ID:	3377090   Click image for larger version

Name:	scr4.png
Views:	13892
Size:	154.9 KB
ID:	3377091  
The Following 25 Users Say Thank You to Woalk For This Useful Post: [ View ] Gift Woalk Ad-Free
 
 
6th May 2015, 08:21 PM |#2  
Senior Member
Flag Włocławek
Thanks Meter: 1,061
 
Donate to Me
More
Working very well on JB 4.3, good job
6th May 2015, 08:26 PM |#3  
HorstiG's Avatar
Senior Member
Flag Banja Luka RS
Thanks Meter: 2,642
 
More
Works with Android 5.11 CM12.1?

HGT - S5 G900F - Oneplus One - Tesla TTL7
The Following User Says Thank You to HorstiG For This Useful Post: [ View ] Gift HorstiG Ad-Free
6th May 2015, 08:44 PM |#4  
Woalk's Avatar
OP Senior Member
Thanks Meter: 599
 
Donate to Me
More
Quote:
Originally Posted by KuaQ

Working very well on JB 4.3, good job

I'm happy that you're happy.

Quote:
Originally Posted by HorstiG

Works with Android 5.11 CM12.1?

Doesn't CM have this feature out-of-the-box?
But, yes, it should. Even while it may need you to enable the feature in CM settings (setting preference Settings.System.STATUS_BAR_NOTIF_COUNT, if I'm not completely wrong).
Just try it out.
7th May 2015, 05:48 AM |#5  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 1,341
 
More
this is a nice module.. thx..

a few suggestions..
- is it possible to enable new options (currently the display style) on the fly instead of rebooting?
- for the option styles, would be nice if a combination of styles (transparent+small) is allowed..
- for the option styles, customisable colour would be nice..
7th May 2015, 06:07 AM |#6  
Woalk's Avatar
OP Senior Member
Thanks Meter: 599
 
Donate to Me
More
Quote:
Originally Posted by iamelton

this is a nice module.. thx..

a few suggestions..
- is it possible to enable new options (currently the display style) on the fly instead of rebooting?
- for the option styles, would be nice if a combination of styles (transparent+small) is allowed..
- for the option styles, customisable colour would be nice..

Yes, display style applies for every new notification instantly after selecting.
It does however not apply for already present notifications.
You can test this out with the 'Debug' options: Create any notification with a number, change number appearance, then swipe away your notification and select the option "without number" to force creation of a new notification.
After that, you can either use "with" or "without number" again to test the new style.
If it applies to a specific app depends on whether the app stores the existing notification for re-use or creates a new one.

Suggestions noted, I feared that they would be requested.
Will work on that soon.
The Following User Says Thank You to Woalk For This Useful Post: [ View ] Gift Woalk Ad-Free
7th May 2015, 07:05 AM |#7  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 1,341
 
More
and maybe also an option to hide the launcher icon, as i usually use xposed installer to manage all those modules?
7th May 2015, 09:27 PM |#8  
Member
Thanks Meter: 5
 
More
Doesn't work on my Nexus 5 with stock 5.0.1
7th May 2015, 10:10 PM |#9  
Woalk's Avatar
OP Senior Member
Thanks Meter: 599
 
Donate to Me
More
Quote:
Originally Posted by iamelton

and maybe also an option to hide the launcher icon, as i usually use xposed installer to manage all those modules?

Yes, on GitHub already, will be in the next release.

Quote:
Originally Posted by reallyimjesus

Doesn't work on my Nexus 5 with stock 5.0.1

That's a shame... Xposed log?
8th May 2015, 04:56 AM |#10  
DallasBelt's Avatar
Senior Member
Flag Ambato
Thanks Meter: 278
 
Donate to Me
More
Thank you for this module only problem is that Whatsapp notifications constantly increment without having incoming new messages running CM12.

Sent from my LG-D415 using XDA Free mobile app
8th May 2015, 07:51 AM |#11  
Woalk's Avatar
OP Senior Member
Thanks Meter: 599
 
Donate to Me
More
Quote:
Originally Posted by DallasBelt

Thank you for this module only problem is that Whatsapp notifications constantly increment without having incoming new messages running CM12.

That's interesting. Will look into it today.
WhatsApp is using the 'workaround', isn't it?
The Following User Says Thank You to Woalk For This Useful Post: [ View ] Gift Woalk Ad-Free
Post Reply Subscribe to Thread

Tags
android, customization, notifications, statusbar, xposed

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes