Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is this toast coming from?

Tags:

android

toast

For some reason the app that I'm working on is displaying a toast that shows the internal storage space left on my device even though I didn't code this in.

Here is a screenshot
http://i.stack.imgur.com/z2ERU.png
And here is the code for the (only) activity.
http://pastie.org/8382286

As you can see, all of the toasts are commented out and I'm not even importing android.widget.Toast. Yet I'm still getting the toast shown in the screenshot.
Can anyone tell me why this is happening?

like image 627
Josh C. Avatar asked Oct 06 '13 19:10

Josh C.


People also ask

Where did the saying toast come from?

The term toast, as in drinking to one's health, comes from the literal practice of dropping a piece of toast in your drink. In the 16th century, it was common practice to add a piece of scorched or spiced toast to wine. The bread would help to soak up some of the acidity and improve flavor in poor wine.

What does the slang toast mean?

be toast, Slang. to be doomed, ruined, or in trouble: If you're late to work again, you're toast!

Why do they call it raise a toast?

Toast would have then developed by association with the act of literally raising a piece of toast in a cup in someone's honor, health, etc. Although the practice of clinking drinking vessels in honor or celebration goes back to ancient times, toast as the name for it only dates to the late 17th century.


2 Answers

I was getting the same toast notification on my Android 4.1.1 device. Turns out it was ES File Explorer that was generating the toast. It has a setting that shows low storage notifications.

You can disable it by going to Settings > Display settings > Uncheck "Show low space warning".

like image 102
Basant Singh Avatar answered Oct 27 '22 05:10

Basant Singh


Are you using your phone as an emulator? i get such message only when i use my phone as an emulator. such messages wont appear when you try running your app on any device. you get that toast only when app are run through your ide

like image 45
Maulik Sheth Avatar answered Oct 27 '22 06:10

Maulik Sheth