yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] defim:
[MENTION=1989457]themadproducer[/MENTION] & [MENTION=2468642]Looki75[/MENTION]

I assume: If an extended toast is detected, which has additional object than by default, the app is "intelligent". So no app name & icon will be added. This fits for Aqua Mail.

See attachement
[Xposed Framework Modules] defim:
New version uploaded, everything should be fixed, if not please report :angel:
[Xposed Framework Modules] Looki75:
Perfect!

Aquamail issue is solved!

And all app names show properly now!
[Xposed Framework Modules] marcran75:
Great module. Don't have to see that annoying "XAD" toast anymore. Tried using another module called "untoaster" but it was too complicated and couldn't get it to work. This is simple and easy to use.
[Xposed Framework Modules] LaZer713:
I love this <3, thank you very much!!:good:
[Xposed Framework Modules] Jimmy34742:
I want to block toasts from the Xposed module Flying Android. I checked my strings, but could never get UnToaster to block toasts when flying an app. Enhanced Toasts will block Flying Android for each individual app when I fly that app, but Enhanced Toasts won't block Flying Android itself. That means I have to wait to fly an app and then look it up in Enhanced Toasts and block its "flying" toast. That gives me the result I want, but it would be easier to block Flying Android once rather than every other app's individual "flying" toast.
[Xposed Framework Modules] defim:
I have not tried Flying Android yet. Does it create toaste "in the name" of all apps? So that every app has in EnhancedToast the same Tost message? Then you have to block it for each app. By design of this app, a toast relies on a app.

Maybe Flying Android could get an additional option to disable them...
[Xposed Framework Modules] Jimmy34742:
Yes, each app gets two toasts "from" Flying Android: "fly" and "rest," which are totally redundant because the two states are very graphically obvious. I'm happy to at least be able to kill the toasts app-by-app, but--without understanding all the technical details--it's much more annoying than it would be if Flying Android would just STFU. Unfortunately, it's hard to communicate with the dev. I emailed him a request to start an XDA thread. But it's an essential app if you want to be able to operate your phone with one hand because devs don't design for that, God knows why.

EDIT: By the way, how do you donate? I don't seem to be able to figure it out.

For godsake, minutes after posting this, the Flying Android dev added the ability to suppress toasts. But I'm glad I discovered your app because I have a few other unwanted toasts.
[Xposed Framework Modules] defim:
Sorry, not possible to block global a specific toast with EnhancedToast. I'm using the app-toast relationship for performance reasons: step 1) get blocked toasts for the app which created it. step 2) check only these toasts with the current one. So not all blocked has to be checked (many string comparisons are not so fast)

EDIT: It seems new Flying Android 0.5.6 got this feature :)
[Xposed Framework Modules] jkeuclid:
I loaded this up today and wondering, can I get rid of the battery cover and usb cover popups with this?
[Xposed Framework Modules] defim:
If they are toasts - yes. If you are not sure, post a screenshot of the popups (maybe fullscreen notifications etc)
[Xposed Framework Modules] jkeuclid:
rgr that defim and for that usb cover pompt that you get wehn you pull out the charger cord, I couldn't grab that as as soon as I pressed buttons for screen shot it went away to quickly.
[Xposed Framework Modules] defim:
I'm not sure what this "pull out the charger cord" is, but it's not a toast. If it is a notification, NotifyClean should help. Btw, NotifyClean and EnhancedToast have both a logging option. You could enable them, then do what the popup causes and see the log (and disable it again).

I got rid of this popup by using the "google edition" for my s4-active :D
[Xposed Framework Modules] jkeuclid:
Ok I'll give Notify Clean a try later on, I do have logging enabled on ET and I finally managed to grab a SS of that usb cover prompt...

afaik we ML2 4.3 users don't have the luxury (yet) to flash ROMs, maybe someday
[Xposed Framework Modules] defim:
I would track it this way:

* EnhancedToast with full logging enabled, then disconnect the cable and see if it is a toast (dont forget to disable logging later)

* if not: NotifyClean with full logging enabled, then disconnect the cable and see if it is a (full-screen) notification (dont forget to disable logging later)

* if both not ReceiverStop with full logging enabled, then disconnect the cable and see which apps get broadcasts like "ACTION_POWER_DISSCONNECTED"

* last way: write a custom patch like http://repo.xposed.info/module/se.jacobsvensson.xposed.xposedg2disablefullycharged
[Xposed Framework Modules] jkeuclid:
Will do, thanks defim
[Xposed Framework Modules] Looki75:
Hello [MENTION=4501300]defim[/MENTION]!

Is it possible to add an option to "click through toast"? Very often, I want to click on something but a toast appears and I cannot click until toast is gone...

Is it feasible at all?

Thanks
[Xposed Framework Modules] defim:
I think this depends on the device/firmware, because i can touch through toasts :confused:
[Xposed Framework Modules] Looki75:
I'm on Samsung TouchWiz JB4.3 ROM... Any chance you could "force" click through?

BTW, when I tested a KK ROM (based on CM11), I could click through too...
[Xposed Framework Modules] themadproducer:
[MENTION=2468642]Looki75[/MENTION]

Welcome back.

I just tested it on ICS 4.0.4

I can't click directly through the toast, but I can click around it.

That's probably what you meant anyway right?
[Xposed Framework Modules] Looki75:
Right... I thought it was the same for everyone until I experienced the click through in CM11 KK...
[Xposed Framework Modules] pugsang:
[MENTION=4501300]defim[/MENTION]

Greek Translation by me
[Xposed Framework Modules] defim:
Thank you! Attached a version to test the tanslation.

Sadly i forgot to update the OP, there a 8 strings missing. The attached .zip contains these strings in english, they are indented.
[Xposed Framework Modules] pugsang:
New updated translation attached.

Tested (finally found a friends phone in Greek) and made some corrections. Should be OK. Please re-upload for a final test
[Xposed Framework Modules] defim:
Thanks, updated file attached.

If you want to change the language of a single app, just use the Xposed app "AppSettings" (http://repo.xposed.info/module/de.robv.android.xposed.mods.appsettings)
[Xposed Framework Modules] pugsang:
Everything seems to be OK. You can release it to the public.

The original Greek title for your app is Βελτιωμένες Ειδοποιήσεις in case you want to change that also. I prefer not.

Regards
[Xposed Framework Modules] defim:
Thanks! I'll release it at weekend, atm i'm enhancing some other small things
[Xposed Framework Modules] defim:
Someone has an idea what meaningfull could be done if a toast is "touched"?
[Xposed Framework Modules] themadproducer:
[MENTION=4501300]defim[/MENTION]

First thing that comes to mind, is to initiate a Tasker Task. :good:
[Xposed Framework Modules] kantjer:
Fully agree with that.

But I'm a heavy Tasker user ;)
[Xposed Framework Modules] defim:
[MENTION=3306843]kantjer[/MENTION] & [MENTION=1989457]themadproducer[/MENTION] Okay, tasker. So anybody could do custom things.

But sadly ... this touching behaves differen for the Android APIs :( Or with other words: does not work for KitKat at the moment
[Xposed Framework Modules] defim:
Portuguese translatiom by [MENTION=5670372]supergonkas[/MENTION]
[Xposed Framework Modules] teorouge:
Italian translation! Will you post a test apk to try out? :)
[Xposed Framework Modules] defim:
As usual :D Btw, you forgot you email.

I've fixed some " ' " by adding a " \ " before them

If you use a website-watcher programm, like Firefox addon "Update Scanner" you could watch this direct link for changes. This is the same for all translations of my apps.

To download the file: directory
[Xposed Framework Modules] teorouge:
Thanks, address is teorouge[at]gmail[dot]com, if that is for credits just state "teorouge" or "Matteo Regoli". :)

Sorry for the missing " \ ", I haven't used them in a while in the projects I follow and I didn't think about it: by the way, you can set up a

free

translation project with fully featured editor and management on http://getlocalization.com/ , it's a safe, hassle-free and convenient way (and you get RSS feed for translation source changes too!) which I translate with and manage a few projects myself. You really should try that! ;)
[Xposed Framework Modules] defim:
Mail's out.

It's just if you want later change strings. I've tested many translation pages, but they all require a montyle fee, getlocalization.com too :-/
[Xposed Framework Modules] themadproducer:
[MENTION=4501300]defim[/MENTION]

I used your Tasker "%text" variable to do a neat thing today.

- I've already been using it for months to get Tasker to "Vibrate" and "Bling sound" when I manually hibernate apps with Greenify and get the Enhanced Toast.

- I went further and wrote a small Tasker task to look at the "%text", and if it detects a toast that starts with "Failed" or "Not Hibernating", then Tasker initiates another Greenify/Hibernation attempt silently in the background. If it succeeds, then I get another Enhanced Toast with confirmation by text, vibration and sound.

I had to keep it simple, as the %text would only register before or after the Tasker Task was running....and unfortunately, not during.

Thanks for a very cool mod! :good:
[Xposed Framework Modules] teorouge:
Thanks. However it's a year I own and manage the Floatifications project and I can tell you I never paid anything: you should try! Anyway I'll keep checking for new strings here in the thread if you won't change, no problem, just mention any update here. ;)
[Xposed Framework Modules] defim:
New version uploaded to xposed.info as "beta" to not disturb people because only the language is new :D

I tested getlocalization a while ago and some other sites, but i've not found a matching.

Btw, in Floaticons thread

Maybe a hint to my other app NotifyClean would be interesting (even Android Gingerbread compatible)
[Xposed Framework Modules] undaclazz:
My translation for Bahasa Indonesia. My email anton.sahetapy@gmail.com
[Xposed Framework Modules] defim:
Thx!
[Xposed Framework Modules] teorouge:
I'm not the developer, but I can tell him about that. Cheers! ;)

HTC One
[Xposed Framework Modules] undaclazz:
The Bahasa Indonesia still doesn't show... may be you you should use "values-in" instead of "values-id" folder ... thanks
[Xposed Framework Modules] defim:
You are sure it is "in"? At https://sites.google.com/site/tomihasa/google-language-codes is only this
[Xposed Framework Modules] defim:
Getlocalization is not free for me, see attached screenshots. Maybe it was and is still for older projects?

However, i set up and testing atm http://translate.apk.defim.de/
[Xposed Framework Modules] undaclazz:
Yes I'm sure... I have tried to put in values-in and it works as it should be.... and I use Samsung, they use values-in in their framework-res.apk

Update

Sorry forgot to say.... But I found another apps like BBM, WhatsApp... they use both -in and -id with same translation ....
[Xposed Framework Modules] teorouge:
Just to try (and of course I can close it down and delete), I created http://www.getlocalization.com/EnhancedToast/ project and sent an email to GL admins to ask them about free projects, whether they are still like they used to be. I'll let you know! ;)

EDIT: however it does look like it's free and open, see the screenshot. Did you start the free trial with the ReceiverStop project, by any chance? I didn't.
[Xposed Framework Modules] defim:
I don't know why but http://developer.android.com/reference/java/util/Locale.html

So "in" should be the correct one. See attachement
[Xposed Framework Modules] undaclazz:
Ok ... this is now showing indonesian ... thx [MENTION=4501300]defim[/MENTION]
[Xposed Framework Modules] defim:
I can't remember, it was months ago. But at the moment, i can not access it even ^^

Btw, you tried http://translate.apk.defim.de/ ?
[Xposed Framework Modules] teorouge:
I did, and while it's a much better solution than downloading the XML and editing in Notepad++, I think it misses a few things from GL. Personally, I hope we can use GL and that it's free. :)
[Xposed Framework Modules] defim:
It's not doenloading the xml, i set it up yesterday+today...
[Xposed Framework Modules] teorouge:
I meant, it's a better solution if you compare it to what you had to do before (that is, download the XML you provided, edit in Notepad++ and give it back to you). ;)
[Xposed Framework Modules] defim:
I mean you should click the link...
[Xposed Framework Modules] teorouge:
I don't think we're understanding each other. :)

I did go to http://translate.apk.defim.de/, created an account and checked Italian translation for ET; and, like I said, it's a much better solution than getting the XML from you, translate the strings and give it back. ;)
[Xposed Framework Modules] defim:
Sorry, yes i dit not get it! Translation problem :D

As you know getlocalization.com, does you think oneskyapp.com is better/worse?

Btw, as i tested OneSky some time ago, there was a bug importing the existing files. Yesterday i wrote support about it and today it is fixed!
[Xposed Framework Modules] teorouge:
It's nice OSA is ready to respond and fix, that is for sure, but I think translation interface is better in GL.
[Xposed Framework Modules] defim:
Okay, i'll created a new GL account to chekc it

EDIT: OneSky seems to work fine, especially the support is very good and fast. Domain integration is also nice. So I stick with I atm
[Xposed Framework Modules] defim:
[MENTION=3967831]badkill[/MENTION] [MENTION=3717678]pugsang[/MENTION] [MENTION=5670372]supergonkas[/MENTION] [MENTION=1113480]teorouge[/MENTION] [MENTION=4296871]undaclazz[/MENTION]

There's a new interface for translate most of my apps: http://tinyurl.com/okycacj

A free account of www.oneskyapp.com is required to edit.

Please check if some new phrases are missing
[Xposed Framework Modules] teorouge:
Ok, should I close the GL project then?

And how would I add a language in OSA? Should I ask you to do that? Thanks! :)
[Xposed Framework Modules] defim:
Yes please, see my edited post above. I've uploaded 8 apps to skyone. I can't find an option to allow adding a new language, but so I can get the XDA name for credits page...
[Xposed Framework Modules] badkill:
I have translated the text of the 3 missing files available on the site, thanks :good:
[Xposed Framework Modules] pugsang:
[MENTION=4501300]defim[/MENTION]

I was already subscribed to onesky. New strings translated.

There is for sure an option to add new language. If there is not just upload the original one with another language name (i.e. el) where missing and we will take care of the rest.

Let me know :good:
[Xposed Framework Modules] defim:
[MENTION=3717678]pugsang[/MENTION] [MENTION=1113480]teorouge[/MENTION]

Just write here which languages are needed, i add them then. There are more than hundred of lagnuages, and it take too much time to enable them all for all projects
[Xposed Framework Modules] teorouge:
Sure, and you just write here when you update the strings. ;)
[Xposed Framework Modules] undaclazz:
Please add Bahasa Indonesia to your apps other than EnhancedToast (it is already done) ... thx
[Xposed Framework Modules] defim:
Added (if i did not missed one)
[Xposed Framework Modules] undaclazz:
All done now for bahasa indonesia translation... only Custom Share you didn't add :D
[Xposed Framework Modules] defim:
Also enabled..

And please dont forget to send my (eg via PM) your email. So i know you xda name for the credits and can send you an unlocker. If you send me the email address before, i have maybe forgot it yet
[Xposed Framework Modules] pugsang:
Add Greek (el) to all of your apps
[Xposed Framework Modules] defim:
Are you missing emails in the past? Seems all are sent
[Xposed Framework Modules] pugsang:
I am not talking about the ones that I have already translated. I am talking about others such as Notifyclean that are missing Greek translation ;)
[Xposed Framework Modules] defim:
I'm not sure if i understand/translate correctly. For NotifyClean greek is enabled, but it has 0 translated strings
[Xposed Framework Modules] pugsang:
I haven't received any notification....

Never mind. I will check your Onesky projects page and will translate everything.
[Xposed Framework Modules] ithakaner:
Feature proposal: Adjust display time of a toast

Hey defim, great module. I've tried it and it gives me finally a usable option to de-clutter my toasts and give me back my focus on the important stuff.

Well I miss one option in EnhancedToast: configure the display time of a toast.

Some apps pack quite a lot of information in one message and so most times you can't read all of it until it disappears. I think the standard is 2sec??!

Here I would like to see an option in EnhancedToast to display some toasts (App/RegEx/Etc) a little longer.

This could also end up in a general option to display all toast with the already present AppName option, AppIcon *PLUS* a display time of eg. 6sec

Is that even possible to integrate? I know from Tasker you can use a "normal" and a "longer" toast version.

According to "Toasts in the Android Developer Reference" there are default values Short/Long, but you can also adjust them :victory:

Sure this can also be done with a Tasker interaction, but a direct configuration within EnhancedToast would ease the process.

Would be great to see this option in one upcoming beta or so :fingers-crossed:
[Xposed Framework Modules] defim:
[MENTION=1009328]ithakaner[/MENTION]: Yes, should be possible. I'll take a closer look
[Xposed Framework Modules] defim:
Toast duration could be set with latest version, should work with Android GB - KK. Atm only published on xposed repo, If noone complains I'll release it on Play Store soon.
[MENTION=1009328]ithakaner[/MENTION]: Have you a donator/keyfile? If not send me your email
[Xposed Framework Modules] themadproducer:
[MENTION=4501300]defim[/MENTION]

I really like the new touch options.

This mod is one of my favs. Very stable too.

Is it possible to have the following "combination" option...

- touch the toast to keep it longer and touch outside the toast to remove it.

Right now with the option to keep the toast longer (ICS 4.0.4) when I click outside the toast, it also keeps the toast longer...which I'd rather it not.
[Xposed Framework Modules] defim:
The "touch toasts" behaves differen on some roms (that's the reason i added the hint in the settings menu).

With KitKat stock or CM I tested, the touch is only recognized on the toast itself. But with my S4active Google Edition, Andoid 4.2 it behaves like your ICS: The touch is everywhere on the screen recognized.

I'm not sure which causes the difference, manufacturer changes or Android version. I searched for it in Androud source, but did not find it, sorry :(

Btw, i use myself the "touch through toasts" on my 4.2 device like it is deault on Kitkat, i like this more
[Xposed Framework Modules] :
[MENTION=4501300]defim[/MENTION], perfect module :good: can you add an option for change background and font colors?

Thanks.
[Xposed Framework Modules] defim:
Sorry, only orignal themes from GIngerBread, JellyBean and KitKat could be selected. Coloring/Resource changes are things i dont like an imho wast of device resource :D
[Xposed Framework Modules] supergonkas:
how can i block a toast with regex if it contains the word "info" for example ?
[Xposed Framework Modules] defim:
Shortest:

.*info.*

But keep in mind that regex is case sensitive! I think (but not testet) for case insensitive:

.*[iI][nN][fF][oO].*
[Xposed Framework Modules] supergonkas:
It worked! ,thanks :)

btw before i was doing .*[info].* and it was blocking all the apps toasts, why was it doing so?
[Xposed Framework Modules] defim:
This regex means string which contains I or n or f or o, so most..
[Xposed Framework Modules] _jis_:
I just finished translation to Czech, check PM.
[Xposed Framework Modules] w0rinal:
Problem with latest update

Hi defim,

obviously notifyclean crashes when "Do not stack toasts in a global queue..." is checked. At first I thought it was a problem with notifyclean itself but I looked at the report and it said there was a nullpointerexception, source file "Toast.java", source class "android.widget.Toast$TN", source method "handleShow". (Can't attach a screenshot right now)

When the newly introduced function is not checkmarked, notifyclean works fine.

Strangely it's the only app that shows that behaviour, every other app shows toasts as supposed to.

Let me know if you need further information :)
[Xposed Framework Modules] defim:
Damn [emoji1]

What rom does you have? Where/when in NC does it crash? After clean some notifications? Ive there no crash, but the toast is very short even ive set to 5 secs.

I'll take a closer look this evening
[Xposed Framework Modules] w0rinal:
It happens after the "Loading Notifications" dialog right before the toast is supposed to show how many notifications are recorded

I'm on SlimKat 8.2 (Android 4.4.4) for GT-I9300

Take your time, I'm not in a hurry :good:
[Xposed Framework Modules] defim:
On my Defy with CM of last month it does not crash, but logs

W/NotificationService(1611): Toast already cancelled. pkg=de.defim.apk.notifyclean callback=android.app.ITransientNotification$Stub$Proxy@422232d8

It it because i reuse in NC (and other app) a Toast

From AOSP: (api 15-19)

synchronized (mToastQueue) {
long callingId = Binder.clearCallingIdentity();
try {
int index = indexOfToastLocked(pkg, callback);
if (index >= 0) {
cancelToastLocked(index);
} else {
Slog.w(TAG, "Toast already cancelled. pkg=" + pkg + " callback=" + callback);
}
} finally {
Binder.restoreCallingIdentity(callingId);
}
}

So it should not crash ... and it seems SlimKat has bad modifications of toast!?

Are you able to run own apps? Please try

Toast t = null;
t = Toast.makeText(this, "blubb", Toast.LENGTH_LONG);
t.show();
t.cancel();
t.cancel();
t.cancel();

But anyway i'll fix this in next updates, but other apps could also crash because of this :rolleyes:

EDIT: IF this is current SlimKat source, no changes made there: https://github.com/SlimRoms/framewo.../server/NotificationManagerService.java#L1573
[Xposed Framework Modules] defim:
[MENTION=5856428]w0rinal[/MENTION]: Can you please test attached apk? Could fix the crash of NC..

After installation a reboot is required
[Xposed Framework Modules] w0rinal:
Seemed to be fixed at first but sometimes it still crashes.

Actually the hello world tutorial is the only app I have ever finished and tried, so I can't provide any other help than testing and reporting...

[edit]

It only worked the first time, there still seems to be an nullpointerexception related to the toast class

As I said before I don't know too much about code so I can't tell whether there are bigger chances in slimkats implementation of toasts

[edit2]

I can force playerpro to crash when tapping the repeat button repeatedly (every tap causes a toast to show the current repeat behavior).

It doesn't crash when a toast is half finished and another one shows right after that. Obviously only when the second one is supposed to be queued it crashes

Sent from my Boeffla powered Slim GT-I9300
[Xposed Framework Modules] defim:
[MENTION=5856428]w0rinal[/MENTION]: This app? https://play.google.com/store/apps/details?id=com.tbig.playerprotrial

I tried it, but with my devices it does not crash. So, sorry have no idea why it does not work for you. Maybe another SlimKat user can report if it works?

But anyway, i'll push later the improved version above