简体   繁体   中英

Toast not working on Samsung gt-p5110

What should I do to force Samsung gt-p5110 to display a standard Toast message?

Toast.makeText(context,"text",Toast.LENGTH_LONG).show(); 

This line of code works on many tablets and phones. I have a problem only with Samsung which does not display anything.

It is a bug

read this

Toasts are disabled if notifications are disabled for an app (Jelly Bean)

https://code.google.com/p/android/issues/detail?id=35013

it mostly happens with 7' and 10' tablets

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM