敬酒通知没有出现在Nexus 7平板电脑出现在、平板、通知、电脑

2023-09-07 15:47:10 作者:酒太甜你太苦

我想获得一个吐司通知出现在我的Nexus 7平板电脑 - 但是,它们将不显示。我使用自定义的吐司的消息在大部分我的应用程序,但即使这样简单的事情:

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.

我已经在其他设备,包括一台Nexus 1手机(2.3)的myTouch(2.2),以及宏碁Iconia平板电脑(4.0)测试这个程序。敬酒消息出现,除了这款Nexus 7平板电脑(4.1)等所有设备。

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).

有一个用户设置,允许吐司的通知停用在应用程序?或者,处理吐司不同的消息后,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.

推荐答案

也许这帖子可以帮助你。

听起来像是一个bug。

Sounds like a bug.

修改:在情况下,链接死了,基本上是:

Edit: In case the link dies, essentially:

进入设置 - >应用程序 - > My_App并找到一个小盒子标有显示通知下面。如果不加以控制,检查它。

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