[英]Toast not working on Samsung gt-p5110
What should I do to force Samsung gt-p5110 to display a standard Toast message? 如何强制三星gt-p5110显示标准Toast消息?
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 https://code.google.com/p/android/issues/detail?id=35013
it mostly happens with 7' and 10' tablets 它通常发生在7'和10'平板电脑上
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.