[APP][4.0.3+ & GB][XPOSED] EnhancedToast

Search This thread

defim

Senior Member
Feb 18, 2012
2,744
1,487
Allows only desirable toasts, and much more

You could configure which apps are allowed to show toast notifications. If an app creates a toast it will be collected and added to the list.
You could deny *all* toasts of an app or only *specific* messages.
Changed settings are applied immediately!
A donation supports this app and further development!

Important:
This app needs the Xposed Framework. The framework requires root access for installation. Don't forget to enable the module in Xposed. You can grab it here: Xposed Installer

Donation:
  • No self-promotion in the app.
  • Text of the toast could be centered
  • Change toast style to GingerBread, JellyBean or KitKat
  • Add icon of the causing app, 6 different sizes
  • Add name of the app which created the toast
  • Per app: Regex pattern matching
  • Per app: Tasker support
  • Clear unblocked toasts for all apps
  • Show all apps, even without toasts yet
  • You support this app and further development!

Website: http://tinyurl.com/nafsxjd
Play Store: http://tinyurl.com/q6zrblv
Xposed Repository: http://tinyurl.com/lzoowto
Changelog: http://tinyurl.com/mj3zr4f


Why this app? No other easy to use app exists :)

Translation:
You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
 

Attachments

  • enhancedtoast0.png
    enhancedtoast0.png
    72.5 KB · Views: 14,840
  • enhancedtoast1e.png
    enhancedtoast1e.png
    67.6 KB · Views: 13,527
Last edited:

themadproducer

Senior Member
Aug 28, 2009
2,815
1,340
@defim
Absolutely brilliant.
This module helps fix some other toast related issues I had with using buttered and burnt toast. Now I have harmony and control.
Thanks bro.

BTW, I get toasts from Go Launcher Prime that do not get registered with your module. Is it possible to fix this?
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
@defim
BTW, I get toasts from Go Launcher Prime that do not get registered with your module. Is it possible to fix this?

EnhancedToast should record every toast, it hooks to a android function. I had never used Go Launcher. Could it be that this app uses a own "toast" method? Try to enable full logging in the settings and watch the logfile if such a toast is created


Amazing, keep up dev:cool::good:

Tested so quickly? I expect errors in the first release version :angel:
 
  • Like
Reactions: themadproducer

themadproducer

Senior Member
Aug 28, 2009
2,815
1,340
EnhancedToast should record every toast, it hooks to a android function. I had never used Go Launcher. Could it be that this app uses a own "toast" method? Try to enable full logging in the settings and watch the logfile if such a toast is created
@defim
OK...I will try to watch the log.
Just to let you know...maybe a clue...both Burnt Toast and Buttered Toast modules work with the GoLauncher Toast. So in other words, they both see and modify the GoLauncher toast. Other app toasts tested so far are seen by all three modules (enhanced/buttered/burnt toast)
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
@defim
OK...I will try to watch the log.
Just to let you know...maybe a clue...both Burnt Toast and Buttered Toast modules work with the GoLauncher Toast. So in other words, they both see and modify the GoLauncher toast. Other app toasts tested so far are seen by all three modules (enhanced/buttered/burnt toast)

Maybe a reboot helps, xposed is sometimes a little tricky..

Can it change the color of the toast?

No, not at the moment
 

kantjer

Inactive Recognized Contributor
Dec 11, 2010
12,393
29,848
www.androidfilehost.com
Thanks for the module, Nice be able able to control the ever growing number of toast messages.
I haven't encountered any errors, but I do have a feature request.

I would love to see some form of pattern matching, to filter on that.
If you look at the screenshot I block the TB "Number of app data elements:" toast. But since this number changes all the time I need to set it for every number. That's not very practical.

vbqiR5L.png
 
  • Like
Reactions: themadproducer

themadproducer

Senior Member
Aug 28, 2009
2,815
1,340
EDIT 3: Working now, but with a disadvantage: All "launcher" apps do not get new settings immediately, they need a reboot..
@defim
I updated, rebooted, made GoLauncher popup it's toast message, opened Enhanced Toast module, highlighted the GoLauncher specific toasts, and without reboot, tested. Popup toasts were intercepted successfully.
Thx very much.
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
Reboot is not an issue at all for my needs..

Reboot is not required if the "reload always" is enabled (=default). I should not write anything before i have done it ...
There are some apps which uses "special" toasts, like Swype (eg on changing language), EX File Explorer (eg on "back" touch) or GO Launcher. They all could now be handled

Btw, i just pushed another update. There was a bug which could prevent recording of any toasts :silly:

I haven't encountered any errors, but I do have a feature request.
I would love to see some form of pattern matching, to filter on that.

There are some more features for donators, like Regex, Tasker, ... ;)
 
Last edited:
  • Like
Reactions: kantjer

defim

Senior Member
Feb 18, 2012
2,744
1,487
I've attached the "strings.xml" to 1st post if someone like to have the app translated in its language. Don't forget to send me your emal adress!
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
@badkill: Thanks. Mail is sent and I will upload it later to Store/Repository

Thanks, the Regex option is great. Haven't tried the Tasker plugin yet.

I'm not using Tasker by myself anymore. But it's a easy way for everyone without developing knowledge to do self defined things for every toast (or notification with NotifyClean)
 
  • Like
Reactions: themadproducer

kantjer

Inactive Recognized Contributor
Dec 11, 2010
12,393
29,848
www.androidfilehost.com
[MENTION=3967831]I'm not using Tasker by myself anymore. But it's a easy way for everyone without developing knowledge to do self defined things for every toast (or notification with NotifyClean)

Is Tasker support already build in? I can't find in the plugin list.
I have the DefimDonator package installed.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Allows only desirable toasts, and much more

    You could configure which apps are allowed to show toast notifications. If an app creates a toast it will be collected and added to the list.
    You could deny *all* toasts of an app or only *specific* messages.
    Changed settings are applied immediately!
    A donation supports this app and further development!

    Important:
    This app needs the Xposed Framework. The framework requires root access for installation. Don't forget to enable the module in Xposed. You can grab it here: Xposed Installer

    Donation:
    • No self-promotion in the app.
    • Text of the toast could be centered
    • Change toast style to GingerBread, JellyBean or KitKat
    • Add icon of the causing app, 6 different sizes
    • Add name of the app which created the toast
    • Per app: Regex pattern matching
    • Per app: Tasker support
    • Clear unblocked toasts for all apps
    • Show all apps, even without toasts yet
    • You support this app and further development!

    Website: http://tinyurl.com/nafsxjd
    Play Store: http://tinyurl.com/q6zrblv
    Xposed Repository: http://tinyurl.com/lzoowto
    Changelog: http://tinyurl.com/mj3zr4f


    Why this app? No other easy to use app exists :)

    Translation:
    You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
    A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
    8
    Yep, not compatible yet with Oreo. Next update should fix it :D
    3
    New version uploaded, everything should be fixed, if not please report :angel:
    3
    @FlyingHorseGA: Thanks! 2nd icon also appears for me, so it will be fixed with next version
    2
    Tasker Notes:
    - Menu>Preferences>Misc>Allow External Access (enable)
    I should add that info to the app, thx

    - Create a TASK named EnhancedToast (no spaces). In this TASK, add + whatever you want. In my example, I chose Media>Music Play and chose a sound file.
    - In Defim's example it's....Alert>Popup...
    Title:
    %name
    Text: %head-%body
    ....just like the image linked in the previous post to kantjer.

    Defim, I know the 3 percentage variables are supposed to return text pertaining to the app which is triggering the popup. But I found the %name to be hit and miss, and the other two don't produce at all....at least with the few app tests that I have tried. But it's neat that I can trigger a Task based on a toast popup. At this point, it's hard to know the many uses this could have.

    The screenshots are from NotifyClean. For EnhancedToast there is not %head and %body, but %text !! (Notifications have another structure)
    Btw, %mode is a boolean (true/false) if allowd or denied the toast in EnhancedToast

    > many uses this could have
    Yes, with tasker could be much done
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone