Why toast message are not show in android 4.1 operating system containing mobile

前端 未结 5 1526
[愿得一人]
[愿得一人] 2021-01-12 03:38

I cant see the toast message in android 4.1 mobile. Upto yesterday I was able to see the toast message. From today only I can not see the message. Please help me.

         


        
5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-12 04:00

    just post the google code link here.

    Since Jelly Bean, users can disable notifications for a given app via "app details" settings.

    A very bad and unwanted side effect is that once notifs are disabled, Toast messages are also disabled, even when the user is running the app!

    You encourage to use Toast in your design guidelines, but who will want to use it if the users have the possibility to remove them, especially if the toasted message is an important feedback to display to the user...

    I understand at least that Toasts could be disabled when the app is in background, but not if it is the foreground Activity.

提交回复
热议问题