Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Toast Notifications Not Showing Up on Nexus 7 Tablet

I am trying to get a Toast notification to show up on my Nexus 7 tablet - however, they will not show. I use custom Toast messages throughout most of my app, but even something as simple as:

Toast.makeText(MyActivity.this, "generic toast message", Toast.LENGTH_LONG).show();

is not working.

I have tested this app on other devices, including a Nexus 1 phone (2.3), MyTouch (2.2), and Acer Iconia tablet (4.0). The toast messages appear on all other devices except this Nexus 7 tablet (4.1).

Is there a user setting that allows the disabling of Toast notifications in an application? Or are Toast messages handled differently post-4.1? These are my only ideas currently. I've searched this problem on Google and haven't gotten a single link regarding a similar issue.

like image 300
Mxyk Avatar asked Dec 06 '22 12:12

Mxyk


1 Answers

Maybe this post can help you.

Sounds like a bug.


Edit: In case the link dies, essentially:

Go to Settings -> Apps -> My_App and locate a little box labeled "Show Notifications" underneath it. If it is unchecked, check it.

like image 51
Aerilys Avatar answered Dec 23 '22 20:12

Aerilys