What is it?
Devs these days think they need a toast for every little thing. I won't name names or apps, but you know what they are. Well, this module will block those pesky toasts with patterns or strings (escape all .?^&$*-()[]{} with \). See http://developer.android.com/referen...x/Pattern.html
Requirements!
* Xposed! Get it here (Xposed repository) or here (XDA thread) and post any Xposed related issues in its thread.
* Your Android smart device. UnToaster should* support Gingerbread and up (the OSs that Xposed supports).
Things to Note
* I can't guarantee the functionality if this mood if you have another that also hooks into the Toast class. That said, this works with the latest Burnt Toast (1.0) and Buttered Toast (1.1).
* I'm too lazy, and there's not much room for it anyway, to add a Copy button. This can be achieved by clicking the package name you want to copy, change the package name, and click Save. The original file will be preserved and a new file added.
* Renaming is the same plus click the old one and click Delete.
* If you have a bug, give me the error.log from Xposed and a logcat *in this thread* - PM logs will be missed or ignored.
tail -n 100 /data/data/de.robv.android.xposed.installer/log/error.log >/sdcard/UnToaster.log; logcat -d | egrep "System\.err|UnToaster" >>/sdcard/UnToaster.log;
** I'm not flashing a ROM or buy a phone just to debug your problem and I only have an SGS2 and an SGS4.
* If you have a suggestion, post it. I will entertain just about any suggestion so long as it's feasible, practical, and within the scope of this mod.
* Donations are accepted, but are neither required nor expected and currently, there are no perks for donating. Any donations will be logged. And should I add any perks, they will be retroactive.
* If you would like it translated, translate it. You can get the strings.xml file from GitHub, but there's not much there to translate.
Examples
*
* (+v1.2.6) To get the package name, you can look in the logcat after you see the toast. Command line: logcat | grep "I/UnToaster"
* A blank pattern box is the same as ".*".
* (+v1.1.2) Using "all" as a package name will allow you to block the same pattern from all apps. Even newly installed ones. In 1.1.5 and up, you must put something in "all" or it won't get processed.
Connected to Wi-Fi.*
.*successful
.*loaded.*
Can\'t find phone number [\d]{7,11}
Can\'t find phone number 1{0,1} \([\d]{3}\) [\d]{3}[-\s][\d]{4}
^\[.*\].*
Disclaimer
I am not responsible for your device. It you mess it up, it's your fault. Not mine. Not the app's. Yours and yours alone.
License
Downloads and Source
Source
* GitHub
Current Version
Version name: 1.2.8
Download: com.egingell.untoaster_v20_8d0e67.apk (127.6 KB)
MD5 checksum: 8d0e671eb5758345544b7c4cb4826629
Changes: NPE's no longer shown in the log.
Older Versions
Other Notes
* I haven't tested this on KitKat *, JB 4.3 *, ICS, or Gingerbread, but they may work just as well. * Other members have stated that this works on 4.3 and 4.4.
* This doesn't work without an internal (built-in) SD card.
* This was tested on Touchwiz JB 4.1.2 and JB 4.2.2 stock.
Thanks
* @MohammadAG: For Buttered/Burnt Toast.
* @defim: For suggesting that I cache compiled regex patterns.
* @rovo89: For the Xposed framework without which this would not be possible.
* The numerous people, @FemBlack, @wanam, MohammadAG, rovo89, @zst123, and many others, who posted their source code for me and others to look at and learn from.
* MohammadAG, rovo89, @JamMasterClay, @GermainZ: For assisting me in figuring out the SharedPreferences dilemma.








Linear Mode
