[MOD][XPOSED][4.1+] All Notifications Expanded - Xposed Framework Modules

I made a simple Xposed module which causes all notifications to be initially shown in their expanded state inside the notification drawer. (The stock behaviour is that only the first notification is expanded.) Notifications may still be contracted manually and will stay that way.
There is no settings activity. This module just does one thing for now.
Requires Jelly Bean or above with the Xposed framework installed.
Props to @rovo89 for the awesome Xposed framework!
You can grab it from its Xposed Module Repository page.

Said it on my thread and I'll say it again, you are my hero!
Sent from my GT-I9505 using xda app-developers app

Great job, this is a thing I wanted for a long time, and is one of the last 3 things I want to see implemented with xposed (the others can be done without, but AFAIK xposed modules don't use as much ram as standalone apps)

this is something that has bugged me since 4.1. my first notification will be something like email or app updates and ill get a text message and cant just hit reply or make as read without first expanding the notification. one of my top annoyances fixed! thanks, you made my day. all these xposed modules are solving all my problems with android, soon i wont have anything to complain about... im giving out thanks buttons like candy.

The Jack of Clubs said:
this is something that has bugged me since 4.1. my first notification will be something like email or app updates and ill get a text message and cant just hit reply or make as read without first expanding the notification. one of my top annoyances fixed! thanks, you made my day. all these xposed modules are solving all my problems with android, soon i wont have anything to complain about... im giving out thanks buttons like candy.
Click to expand...
Click to collapse
Mine would collapse just before clicking whichever button and I would end up clicking the next notification down. I'd have to expand it twice - the second time, it wouldn't collapse.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9

Great job! I like this module!
I have 2 remarks :
1. Could you let the "permanent" notification behaves like by default? Or offer the option in a settings page?
2. Ideally, there would be a settings page in which we could choose the behavior for each app/package independently...
Thanks

Looki75 said:
Great job! I like this module!
I have 2 remarks :
1. Could you let the "permanent" notification behaves like by default? Or offer the option in a settings page?
2. Ideally, there would be a settings page in which we could choose the behavior for each app/package independently...
Thanks
Click to expand...
Click to collapse
+1 for second suggestion, that would make my phone perfect! As I only wan few apps to expand notification on permanent basis

Worked with cm10.2 S2..thanks
Sent from my GT-I9100 using Tapatalk

Looki75 said:
Great job! I like this module!
I have 2 remarks :
1. Could you let the "permanent" notification behaves like by default? Or offer the option in a settings page?
2. Ideally, there would be a settings page in which we could choose the behavior for each app/package independently...
Thanks
Click to expand...
Click to collapse
Do permanent notifications have special behaviour in regards to being expanded or not? Let me know exactly what you mean and I can investigate!
For your second suggestion, I have already planned to do this, but unfortunately I think it will have to wait at least until the new year. I have already been naughty working on these modules when I have a million other things to do!

UgglyNoodle said:
Do permanent notifications have special behaviour in regards to being expanded or not? Let me know exactly what you mean and I can investigate!
For your second suggestion, I have already planned to do this, but unfortunately I think it will have to wait at least until the new year. I have already been naughty working on these modules when I have a million other things to do!
Click to expand...
Click to collapse
Thanks for the quick reply!
1/ Permanent notifications: they behave differently than other notifications, yes.
Default android behavior (at least here on my JB4.1.2 TouchWiz ROM): you cannot expand them with fingers
With your module: they stay expanded, but then you cannot wrap them with fingers
It's like there is no other interaction possible other than clicking on them. You cannot swipe them away, and you cannot expand/wrap.
So the issue with the module is that the notification stays there wide expanded when sometimes you don't need it, and there is nothing to do about it: it will stay expanded.
Solutions?
A. Ideally... if I can dream... would be that your module allow expand/wrap interaction with these permanent notifications...
Is that possible at all???
B. Backup solution would be to allow a setting to choose to expand or not these permanent notifications
C. A 3rd way to go would be to just let permanent notifications with their default system behavior. After all, we mainly need your module for the temporary notifications: emails, test msg, etc...
Solution C is probably the easiest to code? And would be enough for users (at least for me).
2/ No hurry for the second suggestion. Good to know you plan having this. Will be patient!

If it were put to a vote, I'd vote for C - ignore persistent notifications. B as a second choice. But either way, they need to be manually expandable. I just tried and, he's right, they are not expandable.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9

Looki75 said:
1/ Permanent notifications: they behave differently than other notifications, yes.
Default android behavior (at least here on my JB4.1.2 TouchWiz ROM): you cannot expand them with fingers
With your module: they stay expanded, but then you cannot wrap them with fingers
It's like there is no other interaction possible other than clicking on them. You cannot swipe them away, and you cannot expand/wrap.
So the issue with the module is that the notification stays there wide expanded when sometimes you don't need it, and there is nothing to do about it: it will stay expanded.
Click to expand...
Click to collapse
I guess perhaps I don't understand what is meant by "permanent notifications". I thought you meant any notification which cannot be swiped away, but I just tried with Google Music and Power Toggles, and both notifications can be contracted and expanded with my module running.
So could you provide some examples of permanent notifications which you cannot contract? Thanks!
@egingell, are you also on a TouchWiz ROM? If TouchWiz notifications have different behaviour, then I'll have to figure out how to support it - right now I'm just working off AOSP source code.

UgglyNoodle said:
I guess perhaps I don't understand what is meant by "permanent notifications". I thought you meant any notification which cannot be swiped away, but I just tried with Google Music and Power Toggles, and both notifications can be contracted and expanded with my module running.
So could you provide some examples of permanent notifications which you cannot contract? Thanks!
@egingell, are you also on a TouchWiz ROM? If TouchWiz notifications have different behaviour, then I'll have to figure out how to support it - right now I'm just working off AOSP source code.
Click to expand...
Click to collapse
Strange... You understood perfectly what I'm talking about: those persistent notifications that you cannot swipe away...
Well I refer to "App Dialer".
It places a persistent notification. I have 2 other persistent notifications. When the 3 are there, the 2-lines App Dialer one wraps up. Then impossible to unfold with 2 fingers.
With your module, it stays open. Impossible to wrap up...
Can you make a try with App Dialer?
Thanks

UgglyNoodle said:
@egingell, are you also on a TouchWiz ROM? If TouchWiz notifications have different behaviour, then I'll have to figure out how to support it - right now I'm just working off AOSP source code.
Click to expand...
Click to collapse
TouchWiz JB 4.1.2.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9

I'm going to shed some light on the subject of "permanent" or "ongoing" notifications.
On my S4, with stock TouchWiz Android 4.3, ongoing notifications behave just like other notifications, they are just grouped separately. If there is an ongoing notification that can be expanded, it is expanded by default when the notification shade is opened and all other notifications are collapsed. If there isn't an ongoing notification that can be expanded, the first regular notification is expanded by default.
On my Note 10.1 with stock TouchWiz Android 4.1.2, however, if there is an ongoing notification that can be expanded it will be expanded by default and cannot be collapsed. All other behavior is the same.
On my Galaxy Nexus, which obviously ran AOSP based ROMs, I never remember having an ongoing notification I couldn't expand.
I do not have any mods or exposed modules effecting the behavior of the notifications on either device.
I'm assuming egingell was referring to the behavior on the devices in his signature, so it looks like between 4.2 and 4.3 Samsung changed the behavior of the ongoing notification expansion, and I would assume this only effects TouchWiz ROMs because I don't know of others that group ongoing and regular notifications separately.
EDIT: Make that somewhere between 4.1.2 and 4.3 (See eginell's post above)

I don't know if it's noteworthy, but if there are 4+ notifications (re both 4.1.2 and 4.2.2), persistent and temporary, none are expanded automatically.
Also, I have never seen my ADB WiFi persistent notification auto-expanded. I've always had to expand it myself. Even when one of the other persistent notifications didn't load and there are no temporaries.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9

Thanks everyone for the information! I will definitely look into this, but I'll just warn you that I don't have any experience with supporting non-AOSP platforms, and won't have any way of testing, so it might take me some time! As with per-app settings, I probably will not have time to work on it before the end of the year (I'm quite busy right now and leaving for a long vacation in a week).

can you consider in adding an option not to expand the first notification (usually the ongoing weather) otherwise :good: job buddy!

I was mistaken when I said JB 4.1.2 (I was thinking of a different mod).
At any rate, on 4.1.2, ADB WiFi's persistent notification is auto expanded with this mod and I can expand/collapse it manually.
And on 4.2.2 with this mod enabled, ADB Wifi's notification is not auto expanded and I cannot manually expand/collapse it.
Both TouchWiz.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9

Just thought I'd post my findings.
Running 4.2.2 stock based rom on my Xperia Z, all seems good.
All that can be expanded are, and persistent (in my case I used Walkman whilst playing) started open, and I was able to close then up if I wanted.
Walkman is definitely persistent, as I can't swipe it away, unless you're on about a different type.
Sent from Z Beast

Related

[MOD][XPOSED] Smart Alarm Icon [1.2][HTC/Samsung 4.0.3+]

New Xposed Mod: Smart Alarm Icon
This mod will change the alarm icon in status bar to be only displayed for a configurable time before alarm will go off. This for example will remove the icon on Friday and Saturday if the alarm is scheduled for working days only. The threshold for when the icon gets shown is configurable via UI.
=> This makes the alarm icon more valuable again, since if shown permanently one gets used to it quite fast.
Limitations
Works on HTC and Samsung stock-based ROMs version 4.0.3 and higher (permanently hides the icon on other devices)
You MUST accept that you use any modification at your own risk
If you want to try it, follow these steps:
If not done yet or included in your custom ROM, install the Xposed framework as described in this thread (requires root)
Install the attached APK and activate the module in the Xposed installer (this is also described in the framework thread)
Reboot
To change settings, tap on the module in Xposed installer
ChangeLog
Code:
[B]1.2[/B]
- Samsung ROMs now fully supported
[B]1.1[/B] (392 dloads)
- Preferences now include "show never" (slider left) and "show always" (slider right)
- Removed "active" checkbox (now configured with slider)
[B]1.0[/B] (86 dloads)
- Initial release
Hope you enjoy and let me know. Great thanks go to rovo89 for this fabulous framework.
My Other Xposed Mods
All HTC and Samsung ROMs Android 4.0.3 and above
Smart Alarm Icon
Only shows the alarm icon in status bar a configurable time before next alarm
All HTC Sense 5 ROMs
BlinkFeed Back To Top
Enables the back button in BlinkFeed to fast scroll to top
All HTC ROMs Android 4.0.3 and above
Custom Status Bar Opacity
Easily configure the opacity of the status bar when it is transparent in lock screen and launcher
Nice, thanks, very handy! Just installed it and it works great!
nice
Nice idea, good to see more Xposed framework stuff for the m7.
a little off topic but i wonder if xposed could activate or deactivate the NFC icon that shows up in some countries ? ( doesnt show up in uk devices )
PEACE
bjg222 said:
Nice, thanks, very handy! Just installed it and it works great!
Click to expand...
Click to collapse
Glad to hear. May I ask which phone and ROM you're running exactly?
terminal 7 said:
Nice idea, good to see more Xposed framework stuff for the m7.
a little off topic but i wonder if xposed could activate or deactivate the NFC icon that shows up in some countries ? ( doesnt show up in uk devices )
PEACE
Click to expand...
Click to collapse
Probably yes. I don't have my hands on any AT&T/Rogers ROM, on which NFC icon it is reported to show up. Furthermore, I'm not using NFC at all, so I'm afraid it makes no sense for me modding this. I suggest keeping an eye on trixx's TrickDroid thread, his ROM at least supports AT&T models - maybe he's willing to include this at some point
Mantelinho said:
Glad to here. May I ask which phone and ROM you're running exactly?
Click to expand...
Click to collapse
Dev edition, stock but rooted. With the Xposed framework now, I find I can get the tweaks/mods I want without even needing a different ROM.
1.29 rogers stock Rom here and everything is perfect. Xposed is so good it's almost sexual...
Sent from my HTC One using xda app-developers app
Cool thanks man being waiting for someone to get rid of that works great
Thanks, working fine on TrickDroid 5.3.0
Thanks!
Dude. I didn't bother looking around to see if anybody had tried this on a GS3 (yeah I know wrong thread) but this is awesome. I absolutely HATE the stupid icon up there all frackin day when my alarm isn't until the morning. So far works great on my sprint GS3. Thanks!
Beautiful.
Sent From My HTC One, On The Now Network From Sprint!
Has work great on my note 2, but really it should work on any device as long as you have xposed installed. Would be great to hide other icons as well.
Sent from my SCH-I605 using xda app-developers app
Works fine here too. Thanks!
it works partially for me on my note 2.
hiding permanently works.
but if I set the icon to be visible again it stays hidden.
is there a delay in this, or is it a bug?
it's not a disaster if it's a bug though, I wanted the icon gone permanently anyway.
thedicemaster said:
it works partially for me on my note 2.
hiding permanently works.
but if I set the icon to be visible again it stays hidden.
is there a delay in this, or is it a bug?
it's not a disaster if it's a bug though, I wanted the icon gone permanently anyway.
Click to expand...
Click to collapse
Thanks for your feedback. I updated to v1.2, which fully support Samsung ROMs now. v1.1 had the limitation that threshold was only working on HTC ROMs. On none-HTC/Samsung ROMs it will keep on hiding the icon permanently.
it's working perfectly now.
I have been searching high and low to get rid of that icon on JB. Thank you for freeing up some space on my status bar!
Tested on Nexus 4 and it works perfectly, Running vanilla Android 4.2.2, so it's not just limited to Samsung/HTC roms it seems.:good:
ilikethepenkils said:
Tested on Nexus 4 and it works perfectly, Running vanilla Android 4.2.2, so it's not just limited to Samsung/HTC roms it seems.:good:
Click to expand...
Click to collapse
Thank you for this information. Wondering which clock app is installed / comes shipped on your device? Since only HTC and Samsung alarm settings and changes are handled, it should only hide (not auto-show) the icon on vanilla ROMs.

[Q] Can you help me understanding how Android notification system works?

Hi, I just switched completely from iOS to Android after I while I used an iPhone and a Nexus 7 together. Now I replaced the iPhone with a Samsung Galaxy S4.
I'm pretty happy, but there are a couple of things I still completely grasp about how Android notifications work.
My first issue is related to *blocking mode* and Whatsapp. I have the same issue reported in this discussion.
It seems that the app can bypass Android notification system and relies on something else. Is that true? How can that happen?
I have another concern related to the use of vibration when sound is turned on. It seems that the system-wide settings refers only to phone calls, while for other notifications I have to rely on app-specific settings. Am I correct?
Taking for example facebook app, what would happen if I disable vibration and put the phone in silent mode? Will it vibrate?
Finally, I'd like to have a iOS-like notification list on the lock screen. So far I managed to get it for some applications (Messages, Whatsapp), but I'd really like to have some system-wide properties.
Generally speaking, can you please give me a link to Android documentation explaining what aspects of notifications it manages system-wide and what is responsibility of each application?
I'd really like to see as much as possible managed by the operating system, but from what I am experiencing it seems that it is exactly the other way round with a lot of settings left to the applications.
Blocking mode is a Samsung feature AFAIK. Maybe WhatsApp is using the media channel for notifications instead of the notifications channel? Not sure.
mariosangiorgio said:
Finally, I'd like to have a iOS-like notification list on the lock screen. So far I managed to get it for some applications (Messages, Whatsapp), but I'd really like to have some system-wide properties.
Click to expand...
Click to collapse
Take a look at DashClock with one of the many extensions (e.g. AnyDash), NiLS Notifications Lock Screen, or any similar widget.
There's also Floating Notifications, which can show you (bubbles of) your notifications on your lockscreen.
Thanks for the links and for the hypothesis on Whatsapp notifications.
It seems that I have to choose either to have the pattern lock or to add multiple widgets. Am I right?
Is there any way to have both notifications and pattern lock?
I'm afraid pattern lock is again a Samsung specific feature so I'm a concerned about possible integration issues with other widgets.
What about the other question about system-wide vs per-app settings?
mariosangiorgio said:
Thanks for the links and for the hypothesis on Whatsapp notifications.
It seems that I have to choose either to have the pattern lock or to add multiple widgets. Am I right?
Is there any way to have both notifications and pattern lock?
I'm afraid pattern lock is again a Samsung specific feature so I'm a concerned about possible integration issues with other widgets.
What about the other question about system-wide vs per-app settings?
Click to expand...
Click to collapse
Samsung disabled widgets with the secure lockscreen for some reason. There's an Xposed module to re-enable it, but you need the Xposed framework (and root).
I'm not sure about the vibration question.
My device is still not-rooted and I am not very keen on rooting.
I did some research and I found Popup Notifier (Sorry but I still can't post links to external websites) that seems what I need.
I'm going to try it and I'll let you know how it works.
mariosangiorgio said:
My device is still not-rooted and I am not very keen on rooting.
I did some research and I found Popup Notifier (Sorry but I still can't post links to external websites) that seems what I need.
I'm going to try it and I'll let you know how it works.
Click to expand...
Click to collapse
Unfortunately it Popup Notifier is not what I was looking for. I'd like more to have an iOS-like list of notifications rather than popups.
It also felt a bit too hackish that I had to disable text to speech service and enable the app's accessibility service.
I have the feeling that they're misusing accessibility features as a workaround to access notification information.
I see that there are custom lockers. Is it possible to install them without rooting the device? If I install one of them would I be able to setup notifications as I like, add the pattern widget and leave the rest of the system as it is?
mariosangiorgio said:
Unfortunately it Popup Notifier is not what I was looking for. I'd like more to have an iOS-like list of notifications rather than popups.
It also felt a bit too hackish that I had to disable text to speech service and enable the app's accessibility service.
I have the feeling that they're misusing accessibility features as a workaround to access notification information.
Click to expand...
Click to collapse
All applications need Accessibility to get the notifications' content, prior to Android 4.3, AFAIK. Or root.
mariosangiorgio said:
I see that there are custom lockers. Is it possible to install them without rooting the device? If I install one of them would I be able to setup notifications as I like, add the pattern widget and leave the rest of the system as it is?
Click to expand...
Click to collapse
You can install custom lockscreens without root, but you'll also need Accessibility.
GermainZ said:
All applications need Accessibility to get the notifications' content, prior to Android 4.3, AFAIK. Or root.
Click to expand...
Click to collapse
Did 4.3 introduce new APIs to let applications access notifications?
Is there any new app that already uses them? I'd like to try them on my Nexus 7 and then use one also on my S4 once Samsung releases the updated version of the system.
GermainZ said:
You can install custom lockscreens without root, but you'll also need Accessibility.
Click to expand...
Click to collapse
Got it. Thanks again for your kind replies!
mariosangiorgio said:
Did 4.3 introduce new APIs to let applications access notifications?
Is there any new app that already uses them? I'd like to try them on my Nexus 7 and then use one also on my S4 once Samsung releases the updated version of the system.
Click to expand...
Click to collapse
Applications can now use notification listeners, which allow them to detect new notifications (and when they're cleared) from an app. I think Floating Notifications uses it if you're on 4.3, but it's not exactly what you want.
Yes,unfortunately it's not what I'm looking for. I'll keep checking. I hope new app relying on the new features will be published soon
Sent from my GT-I9505 using Tapatalk 4
I came across a few DashClock extensions which do that, although for specific apps. You might want to try a few and see if this is what you want.
Hangouts DashClock Extension
WhatsApp, Facebook, Viber and LINE (4 different extensions) by Tiger-Workshop
You'll need DashClock for these, of course.
Other than that, there's DynamicNotifications you might be interested in. Not quite what you're looking for, but it might do the trick for now.
DynamicNotifications seems very cool. I'll give it a try
Sent from my Nexus 7 using Tapatalk 4
Just in case you don't read the portal, this DashClock extension does what you want by using the notification listener features, instead of Accessibility services.
Thanks for sharing the link! I'll give it a try. It is very promising
Sent from my GT-I9505 using Tapatalk 4
I tried to use it on my S4 but I cannot set the widget.
This time I can't even disable the lock as I reported in this thread: http://forum.xda-developers.com/showthread.php?t=2472070
Sent from my GT-I9505 using Tapatalk 4

[Request][Xposed] Module to Move the Nav Buttons to Left or Right

I don't know if there's anything out like this for Xposed (have searched for the past 10 minutes and have found nothing) and my requests to the ROM devs haven't panned out. I would like to have an Xposed module that will allow me to move the navigation buttons to the left or right side of the nav bar. It's been implemented in certain ROMs, so I know it's possible, but I don't know how to make modules, so I hope someone who has some experience could help.
Thanks!
I would like to second that request!
Also how about moving the clock and notifications to the bottom like it was on JB?
Getting this to work as an Xposed module has complications. It should be easy enough to achieve on stock-ish ROMs, but ROMs which have nav bar customisations is harder to achieve considering that there are quite a few ways different ROM approach nav bar customisations.
Thankfully there's Thunderkat, which I'm currently running. But it would be nice fore there to be something out there for the masses who choose a different ROM that it might be compatible with.
I was thinking having the bar on the right side while in landscape so the bar has not moved when changing orientation, like what occurs in mobile phones.
Having a nexus 7 I havent managed to stay on kitkat as I can't stand the mobile phone layout, using PA in tablet mode to have both bars combined, now tablet ui is removed in KK I'm trying to find a rom that has a practical layout for my thumb.
Tried thundercat and it has the option of having navi controls on either side which is great but I cant stop to think that the bar is wasting space as you only need an inch of it, while you have a notification pane that could be on the other side.
I will have to find a way to have the bar like on mobile devices.
I would like this as well. I miss my old Asus TF 'layout ' they had something similar with the notifications on the right side instead of above.
Someone on the Kindle fire was attempting to port TabletUI to KK, but I haven't checked in on development in a while.
Sent from my Nexus 5 using Tapatalk
I requested the same thing in the xposed request thread and got no love. maybe you should ask there, too. squeaky wheel gets the grease?
Throwing my hat into this request too... I hate the way Android handles tablet UI these days, I really miss having the navigation near my hand when on landscape, but would like to continue using stock android with xposed instead of flashing a ROM, is this viable via Xposed?
Calleja said:
Throwing my hat into this request too... I hate the way Android handles tablet UI these days, I really miss having the navigation near my hand when on landscape, but would like to continue using stock android with xposed instead of flashing a ROM, is this viable via Xposed?
Click to expand...
Click to collapse
+1 Same here... Been trying GravityBox Nav bar options but that's not working either!
Guys, check out tabletkat xposed module. Works great here!
Sent from my XT1060
rocketsaucev2 said:
Guys, check out tabketkat xposed module. Works great here!
Sent from my XT1060
Click to expand...
Click to collapse
Thanks for the heads up! (Although its tabletkat). Installed and works with XGELS and GravityBox with no conflicts. Although it will nullify any tweaks to the navigation bar that you've done with GB.
usafle said:
Thanks for the heads up! (Although its tabletkat). Installed and works with XGELS and GravityBox with no conflicts. Although it will nullify any tweaks to the navigation bar that you've done with GB.
Click to expand...
Click to collapse
Oops Yeah sorry bout the typo
Sent from my XT1060

[MOD][XPOSED] TickerToast BETA! Turns toasts into notifications in the status bar.

I am done with this. Module discontinued. I'm done fighting with that icon.
This was initially a request from http://www.reddit.com/user/Angelic276 on reddit. I decided it would be neat so put some time into it. Please note this is still quite buggy and the beta isn't up there just cause it sounds cool. Honestly, this was done as an experiment, and I don't think it will ever be perfect.
Doesn't work:
-Icon
-Sometimes toasts that are in a long "line up" will be delayed, this usually occurs after three or more toasts in succession.
-Code sucks
-?
All the goodies can be found on the repo (source, download, etc.): http://repo.xposed.info/module/ryebread761.tickertoast
Exactly what I was looking for. Great job.
This actually sounds like a good mod. I'd like to see it grow :good:
Seems to work pretty well. I dont really mind toasts, personally, I'd rather somehow disable tickers in various apps (Is this possible?)
Anyway... one app that it didnt work with was "Rescan SD Card". It simply crashes the app, which is an app that only has two toast msgs as 'interface'.
Just so you could fix the bug easier... unless I'm alone with this.
I'm not quite sure I understand why toast notifications became popular when notifications are the standard. I hate feeling like I have to read it fast or I'm going to miss something important. If you want to show a brief message that removes automatically, just cancel the notification bar one.
There always has to be something in an OS that causes anxiety, I swear its like a OS rule that all systems have.
---------- Post added at 01:46 AM ---------- Previous post was at 01:45 AM ----------
Kocayine said:
I'd rather somehow disable tickers in various apps (Is this possible?)
Click to expand...
Click to collapse
What do you mean by this?
AaronCompNetSys said:
What do you mean by this?
Click to expand...
Click to collapse
Like, for example, if someone writes me on Skype, it will show a ticker of the name and msg of the sender. I'd rather just it shows the skype "new message" notification icon. Some apps have a "privacy" option - alot dont. Not that I've any idea whether or not this is something that could be done with xposed, it was just a thought... a bit offtopic too, I'm afraid
Kocayine said:
Like, for example, if someone writes me on Skype, it will show a ticker of the name and msg of the sender. I'd rather just it shows the skype "new message" notification icon. Some apps have a "privacy" option - alot dont. Not that I've any idea whether or not this is something that could be done with xposed, it was just a thought... a bit offtopic too, I'm afraid
Click to expand...
Click to collapse
Ah, that does sound extremely annoying and breaks with normal Android behavior. May I could recommend a replacement via Tasker where it detects Skype message and creates a fake one of its own.
AaronCompNetSys said:
Ah, that does sound extremely annoying and breaks with normal Android behavior. May I could recommend a replacement via Tasker where it detects Skype message and creates a fake one of its own.
Click to expand...
Click to collapse
Hard to expect Microsoft to do anything right. Their whole app is a mess but sadly they make sure to keep any alternative clients from existing or working properly.
The tasker alternative seems like a good idea! Can you point me in a direction on a guide how to do this? (I dont wanna keep the offtopic going in poor Ryebread's thread )
Kocayine said:
Hard to expect Microsoft to do anything right. Their whole app is a mess but sadly they make sure to keep any alternative clients from existing or working properly.
The tasker alternative seems like a good idea! Can you point me in a direction on a guide how to do this? (I dont wanna keep the offtopic going in poor Ryebread's thread )
Click to expand...
Click to collapse
I figured it would be a simple search, but this is the best I could find to get you started: http://androidforums.com/tasker/648438-tasker-can-not-detect-gmail-notifications-s3.html
Idea would be to detect notification, then see if detection still works after blocking the notification using Gravity Box's notification block feature. I know blocked notifications still show up in the OS notification queue when blocked on my Kit Kat ROM. Then create a notification from tasker that has Skype's icon and only launches the Skype app.
---------- Post added at 02:17 AM ---------- Previous post was at 02:14 AM ----------
AaronCompNetSys said:
I'm not quite sure I understand why toast notifications became popular when notifications are the standard. I hate feeling like I have to read it fast or I'm going to miss something important. If you want to show a brief message that removes automatically, just cancel the notification bar one.
Click to expand...
Click to collapse
What the hell!?! I just saw my first clickable toast from the Gmail app... "Show new email from XDA..." which showed up when a thread subscribe email arrived while I was reading a message.
Really google, what is wrong with you. Now toasts are not toasts, stay on screen, and are clickable? Just show a freaking notification or something native to the app. I stared at it for a few seconds waiting to know what the crap was going on.
OP: sorry for pooping on your thread. Best of luck to you, nuke all the toasts.
On my S4, the notification showed for about as long as a toast, and then it disappeared on its own.
Ya, that's supposed to happen. Do you like that or should I add an option to have the notification stay?
Sent from my Nexus 7 using xda app-developers app
Kocayine said:
Seems to work pretty well. I dont really mind toasts, personally, I'd rather somehow disable tickers in various apps (Is this possible?)
Anyway... one app that it didnt work with was "Rescan SD Card". It simply crashes the app, which is an app that only has two toast msgs as 'interface'.
Just so you could fix the bug easier... unless I'm alone with this.
Click to expand...
Click to collapse
I'll try to take a look later. Interesting though.
Sent from my Nexus 7 using xda app-developers app
ryebread761 said:
Ya, that's supposed to happen. Do you like that or should I add an option to have the notification stay?
Click to expand...
Click to collapse
The problem with toasts is that the user can miss them, so I assumed your app would make the toasts appear as notifications and linger until the user dismisses them. I guess the idea behind your app is, basically, to put the toast at the top of the phone so that the user doesn't obscure it with his own fingers while doing other stuff. But since we now have Burnt Toast and Buttered Toast, toasts have become more visible, so I actually find a brief display in the status bar easier to miss than a Burnt and Buttered toast.
In that case, yes, I would like the option to have toasts get converted to notifications so that they remain until manually dismissed. That way, you never have to worry about missing a toast if you look away from your phone. As a further refinement, the user could choose on a per app basis whether that app's toasts will be 1) left as system default-style toasts, 2) appear briefly in the status bar, or 3) get converted to a notification that the user has to manually clear.
Love it, i really hate toasts because they block my view and are annoying.
Would be great if you get the icons to work!
GT-i9300, CM11, Boeffla
Kocayine said:
Like, for example, if someone writes me on Skype, it will show a ticker of the name and msg of the sender. I'd rather just it shows the skype "new message" notification icon. Some apps have a "privacy" option - alot dont. Not that I've any idea whether or not this is something that could be done with xposed, it was just a thought... a bit offtopic too, I'm afraid
Click to expand...
Click to collapse
There is 2 apps in xposed to control toast. Untoaster stops toasts and enhanced toast which might be exactly what you are looking for blocks certain unwanted toasts.
Nice module. This is exactly what I was looking for. It would be perfect if you could get the icons to work. It would also be nice for some users to have the option to turn toasts into notifications. Thanx for sharing this.
This is just perfect!! Now to get the volume spiders in the status bar
Sent from my VS980 4G using Tapatalk
I found out that the kindle app doesn't work if this is active
Sent from my Archos 101 Cobalt using Tapatalk
It's a pity that module is discontinued. Hope someone can improve the code. It shouldn't die that way.
schloss said:
It's a pity that module is discontinued. Hope someone can improve the code. It shouldn't die that way.
Click to expand...
Click to collapse
I didn't want it to die this way either. There became a point though where the code was so bad, that doing anything with this felt like a fight. This is something I did in my free time for fun. I usually enjoy coding, and making modules, but this one became more and more of a chore. As such, I decided to end development and move on.

[MOD][Xposed] Notification Count

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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.woalk.apps.xposed.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/releases/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
Working very well on JB 4.3, good job[emoji122] [emoji122]
Works with Android 5.11 CM12.1?
HGT - S5 G900F - Oneplus One - Tesla TTL7
KuaQ said:
Working very well on JB 4.3, good job[emoji122] [emoji122]
Click to expand...
Click to collapse
I'm happy that you're happy.
HorstiG said:
Works with Android 5.11 CM12.1?
Click to expand...
Click to collapse
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.
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..
iamelton said:
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..
Click to expand...
Click to collapse
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.
and maybe also an option to hide the launcher icon, as i usually use xposed installer to manage all those modules?
Doesn't work on my Nexus 5 with stock 5.0.1
iamelton said:
and maybe also an option to hide the launcher icon, as i usually use xposed installer to manage all those modules?
Click to expand...
Click to collapse
Yes, on GitHub already, will be in the next release.
reallyimjesus said:
Doesn't work on my Nexus 5 with stock 5.0.1
Click to expand...
Click to collapse
That's a shame... Xposed log?
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
DallasBelt said:
Thank you for this module only problem is that Whatsapp notifications constantly increment without having incoming new messages running CM12.
Click to expand...
Click to collapse
That's interesting. Will look into it today.
WhatsApp is using the 'workaround', isn't it?
Woalk said:
Yes, on GitHub already, will be in the next release.
That's a shame... Xposed log?
Click to expand...
Click to collapse
I am sorry for the trouble! I was having the older Notification Count module active instead of this one (the old one DID not work; but this one does yaaay!!). Silly me... :silly: Sorry again!
reallyimjesus said:
I am sorry for the trouble! I was having the older Notification Count module active instead of this one (the old one DID not work; but this one does yaaay!!). Silly me... :silly: Sorry again!
Click to expand...
Click to collapse
Ah, that's a relief. No problem, it works, and this counts.
New version 1.1
A new version is available on Xposed Repo!
Changes are the ability to hide the launcher icon (requested by @iamelton)
and a new kind of 'workaround' mode, where the number of the notification is extracted from a string in the notification usually containing its number.
This may be a fix for WhatsApp (reported), try it out @DallasBelt, as I don't use WhatsApp that much.
The style suggestions will be added later, don't worry.
Have fun.
Woalk said:
A new version is available on Xposed Repo!
Changes are the ability to hide the launcher icon (requested by @iamelton)
and a new kind of 'workaround' mode, where the number of the notification is extracted from a string in the notification usually containing its number.
This may be a fix for WhatsApp (reported), try it out @DallasBelt, as I don't use WhatsApp that much.
The style suggestions will be added later, don't worry.
Have fun.
Click to expand...
Click to collapse
Nice! A little review:
It would be nice if it also searched for number of notifications in the title of the notifications (example: google play: N apps updated).
The "whitelist" section is necessary? Couldn't the app just first try to find a number normally, and then if no number is found switch to any of those methods, until it finds any? Like this.
(Notification on the text for some app appears)
1) Check for the number in the notification number count. Nothing found -> switch to 2)
2) Check for the number in the notification title. Not found -> switch to 3)
3) Check for the number in the notification text. Found (only if not found switch to 4)
4) Count updates
Some apps could have wrong info, so the app still should have some "exceptions" list for rare cases like whatsapp, but not a global whitelist for like 90% of the apps I think.
Thad't be awesome!!
Also, the count style only changes if you dismiss the notification, why? couldn't you make it that when generating one test notification you first close the other one? so this would be done automatically. Right now it closes too but the new style isn't applied..
Edit: I just tested increasing the test notification until >999 (yes I spent some time hah). Why >999 and not 1xxx? In small numbers it can be there lol. Also the > is half broken lol
Thanks a lot! :good::good: Keep up the nice work.
RusherDude said:
Nice! A little review:
It would be nice if it also searched for number of notifications in the title of the notifications (example: google play: N apps updated).
The "whitelist" section is necessary? Couldn't the app just first try to find a number normally, and then if no number is found switch to any of those methods, until it finds any? Like this.
(Notification on the text for some app appears)
1) Check for the number in the notification number count. Nothing found -> switch to 2)
2) Check for the number in the notification title. Not found -> switch to 3)
3) Check for the number in the notification text. Found (only if not found switch to 4)
4) Count updates
Some apps could have wrong info, so the app still should have some "exceptions" list for rare cases like whatsapp, but not a global whitelist for like 90% of the apps I think.
Thad't be awesome!!
Also, the count style only changes if you dismiss the notification, why? couldn't you make it that when generating one test notification you first close the other one? so this would be done automatically. Right now it closes too but the new style isn't applied..
Thanks a lot! :good::good: Keep up the nice work.
Click to expand...
Click to collapse
Number in title: Yes, right, that should also be an option. I somehow missed that out...
Whitelist: At the first thought I would say it is necessary, because really every notification would get a number without... But maybe this isn't even bad, as you say. Needs to be tested how it acts in real use. I will try it out.
Style applying on-the-fly: At least for the 'Without number' notification it's obviously needed that the notification updates instead of creates itself newly. But right, the 'With number' should be totally ok with creating a new one. If it makes you happy to see the style change with two touches less on the screen...
Applying the style completely on-the-fly, i.e. not only for the test notifications but for all app's, would be a bit more complicated. Maybe it will be implemented when I implement 'real' custom styles as requested in the thread, have to see how this will act on performance.
Thank you very much for your suggestions!
This is constructive feedback I'd like to see more on the internet.
Woalk said:
Number in title: Yes, right, that should also be an option. I somehow missed that out...
Whitelist: At the first thought I would say it is necessary, because really every notification would get a number without... But maybe this isn't even bad, as you say. Needs to be tested how it acts in real use. I will try it out.
Style applying on-the-fly: At least for the 'Without number' notification it's obviously needed that the notification updates instead of creates itself newly. But right, the 'With number' should be totally ok with creating a new one. If it makes you happy to see the style change with two touches less on the screen...
Applying the style completely on-the-fly, i.e. not only for the test notifications but for all app's, would be a bit more complicated. Maybe it will be implemented when I implement 'real' custom styles as requested in the thread, have to see how this will act on performance.
Thank you very much for your suggestions!
This is constructive feedback I'd like to see more on the internet.
Click to expand...
Click to collapse
Awesome
Constructive feedback? A lot of devs hate me cause I spam too much suggestions :laugh::laugh:
PS: You didn't notice the >999 issue tho :laugh:
Will it work on Xposed Super Alpha?
I'm using Moto G GPe 5.1 stock.
RusherDude said:
Awesome
PS: You didn't answer the >999 issue tho :laugh:
Click to expand...
Click to collapse
You didn't say anything about that...
Does it behave strangely then, like I would think now?
That would not be my fault, the basic implementation of the numbers are by Android itself... ?
But I'll see if I can get around them and replace it like "99+".
Phew, a big To-Do list growth for one day.
Umer520 said:
Will it work on Xposed Super Alpha?
I'm using Moto G GPe 5.1 stock.
Click to expand...
Click to collapse
I don't know, as I can't test Xposed for 5+ in an emulator (arm-only) and I don't have a developer device running 5.1 currently. Maybe I'll try installing the newest CM in the next days or week..
If you're ready to take the risk — as you are, because you installed Super Alpha — you can try for yourself, I would be curious how it does.
Woalk said:
You didn't say anything about that...
Does it behave strangely then, like I would think now?
That would not be my fault, the basic implementation of the numbers are by Android itself... ��
But I'll see if I can get around them and replace it like "99+".
Phew, a big To-Do list growth for one day.
Click to expand...
Click to collapse
I did hehe:
Edit: I just tested increasing the test notification until >999 (yes I spent some time hah). Why >999 and not 1xxx? In small numbers it can be there lol. Also the > is half broken lol
Click to expand...
Click to collapse
But I think u were replying already so missed it , like my edit on the previous post haha :laugh:
Do not reduce the number of digits! at least 3 is necessary lol, but ending in + instead of the > is better yea

Categories

Resources