Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Hehe, yeah. 2013/1/17 b0b pujos.mich...@gmail.com On Wednesday, 16 January 2013 10:43:37 UTC+1, Kostya Vasilyev wrote: Heh. Looks like it *is* intentional. https://android.googlesource.**com/platform/frameworks/base/+** /refs/heads/master/services/**java/com/android/server/** NotificationManagerService.**javahttps://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java That change is really stupid. Another incentive to replace Toast with a custom implementation whose behaviour will not change over time. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.comwrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS !isSystemToast !areNotificationsEnabledForPackageInt(pkg)) { Slog.e(TAG, Suppressing toast from package + pkg + by user request.); return; } Line 114: private static final boolean ENABLE_BLOCKED_TOASTS = true; Commit diff: https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E! -- K 2013/1/16 Tobias Lindberg tobias.e.lindb...@gmail.com: Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.com wrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
That is really strange, if the user should have the option of disabling it should not be bulked with push notifications. 2013/1/16 Kostya Vasilyev kmans...@gmail.com Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS !isSystemToast !areNotificationsEnabledForPackageInt(pkg)) { Slog.e(TAG, Suppressing toast from package + pkg + by user request.); return; } Line 114: private static final boolean ENABLE_BLOCKED_TOASTS = true; Commit diff: https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E ! -- K 2013/1/16 Tobias Lindberg tobias.e.lindb...@gmail.com: Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.com wrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
@Tobias Now that you've found the problem, it'd be nice if you could close your question on StackOveflow as well. I posted the answer for now, but it would probably be best if you posted it from your own account and accepted it. Raghav Sood http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 On Wed, Jan 16, 2013 at 6:11 PM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: That is really strange, if the user should have the option of disabling it should not be bulked with push notifications. 2013/1/16 Kostya Vasilyev kmans...@gmail.com Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS !isSystemToast !areNotificationsEnabledForPackageInt(pkg)) { Slog.e(TAG, Suppressing toast from package + pkg + by user request.); return; } Line 114: private static final boolean ENABLE_BLOCKED_TOASTS = true; Commit diff: https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E ! -- K 2013/1/16 Tobias Lindberg tobias.e.lindb...@gmail.com: Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.com wrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
True, will do. 2013/1/16 Raghav Sood raghavs...@gmail.com @Tobias Now that you've found the problem, it'd be nice if you could close your question on StackOveflow as well. I posted the answer for now, but it would probably be best if you posted it from your own account and accepted it. Raghav Sood http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 On Wed, Jan 16, 2013 at 6:11 PM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: That is really strange, if the user should have the option of disabling it should not be bulked with push notifications. 2013/1/16 Kostya Vasilyev kmans...@gmail.com Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS !isSystemToast !areNotificationsEnabledForPackageInt(pkg)) { Slog.e(TAG, Suppressing toast from package + pkg + by user request.); return; } Line 114: private static final boolean ENABLE_BLOCKED_TOASTS = true; Commit diff: https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E ! -- K 2013/1/16 Tobias Lindberg tobias.e.lindb...@gmail.com: Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.com wrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
So really all we have to do is rebuild our android OS with that flag set to false and we're good to go? ;) On Wed, Jan 16, 2013 at 4:56 AM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: True, will do. 2013/1/16 Raghav Sood raghavs...@gmail.com @Tobias Now that you've found the problem, it'd be nice if you could close your question on StackOveflow as well. I posted the answer for now, but it would probably be best if you posted it from your own account and accepted it. Raghav Sood http://www.appaholics.in/ - Founder http://www.apress.com/9781430239451 - Author +91 81 303 77248 On Wed, Jan 16, 2013 at 6:11 PM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: That is really strange, if the user should have the option of disabling it should not be bulked with push notifications. 2013/1/16 Kostya Vasilyev kmans...@gmail.com Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS !isSystemToast !areNotificationsEnabledForPackageInt(pkg)) { Slog.e(TAG, Suppressing toast from package + pkg + by user request.); return; } Line 114: private static final boolean ENABLE_BLOCKED_TOASTS = true; Commit diff: https://android.googlesource.com/platform/frameworks/base/+/0da673f02e542c644c300568807c80e196296860%5E ! -- K 2013/1/16 Tobias Lindberg tobias.e.lindb...@gmail.com: Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.com wrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
On Wednesday, 16 January 2013 10:43:37 UTC+1, Kostya Vasilyev wrote: Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java That change is really stupid. Another incentive to replace Toast with a custom implementation whose behaviour will not change over time. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
My carrier is a Danish carrier called Tre (Three) but I dont have a carrier dependent phone, I ordered it over the internet. 2013/1/14 bob b...@coolfone.comze.com Who is your carrier? On Monday, January 14, 2013 7:06:36 AM UTC-6, Tobias wrote: I have a toast displayed in the following way: Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); I am 100% I am displaying the toast from the UI thread and I can add that it worked fine for many devices including older updates of Galaxy S3 but after latest update no one of my toasts are being displayed. Have anyone else experienced this and have a solution? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
My carrier is a Danish carrier called Tre (Three) but I dont have a carrier dependent phone, I ordered it over the internet. On Monday, January 14, 2013 5:38:53 PM UTC+1, bob wrote: Who is your carrier? On Monday, January 14, 2013 7:06:36 AM UTC-6, Tobias wrote: I have a toast displayed in the following way: Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); I am 100% I am displaying the toast from the UI thread and I can add that it worked fine for many devices including older updates of Galaxy S3 but after latest update no one of my toasts are being displayed. Have anyone else experienced this and have a solution? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
If I can remember I'll try on my s3 sometime today. Any code snippet you want me to try ? On Jan 15, 2013 1:34 AM, Tobias tobias.e.lindb...@gmail.com wrote: My carrier is a Danish carrier called Tre (Three) but I dont have a carrier dependent phone, I ordered it over the internet. On Monday, January 14, 2013 5:38:53 PM UTC+1, bob wrote: Who is your carrier? On Monday, January 14, 2013 7:06:36 AM UTC-6, Tobias wrote: I have a toast displayed in the following way: Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); I am 100% I am displaying the toast from the UI thread and I can add that it worked fine for many devices including older updates of Galaxy S3 but after latest update no one of my toasts are being displayed. Have anyone else experienced this and have a solution? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Ok..I just tried and it worked for me. I have Android 4.1.1, checked for updates nothing there.. so this seems to work for me. I am plugged in via USB debugging. On Tue, Jan 15, 2013 at 4:44 AM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: Thx :) Try this in your onResume method of an Activity: Toast.makeText(YourActivity.this, The message, Toast.LENGTH_LONG).show(); Also make sure that you have updated the phone to the latest update because stuff was working before I made updates. Cheers, Tobias 2013/1/15 Kevin Duffey andjar...@gmail.com Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. Here's the code I used: public class MainActivity extends Activity { @Override protected void onResume() { super.onResume(); Toast.makeText(MainActivity.this, The message, Toast.LENGTH_LONG).show(); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.activity_main, menu); return true; } } On Tuesday, January 15, 2013 2:41:05 PM UTC-6, andjarnic wrote: Ok..I just tried and it worked for me. I have Android 4.1.1, checked for updates nothing there.. so this seems to work for me. I am plugged in via USB debugging. On Tue, Jan 15, 2013 at 4:44 AM, Tobias Lindberg tobias.e...@gmail.comjavascript: wrote: Thx :) Try this in your onResume method of an Activity: Toast.makeText(YourActivity.this, The message, Toast.LENGTH_LONG).show(); Also make sure that you have updated the phone to the latest update because stuff was working before I made updates. Cheers, Tobias 2013/1/15 Kevin Duffey andj...@gmail.com javascript: Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
That must have been it, it started working today and by coincidence my boss came and told me that there is some issues with push so I went and checked there and it was not enabled and well yeah, enabled it and without connecting it it started working again and now when u mention this it makes total sense. Cheers for the reply :) 2013/1/15 Harri Smått har...@gmail.com Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan 15, 2013 at 2:09 PM, Mark Murphy mmur...@commonsware.comwrote: Wow. That's an important find. Thanks for pointing this out! On Tue, Jan 15, 2013 at 4:31 PM, Harri Smått har...@gmail.com wrote: Hi, There's a bug filed on Android bug database; http://code.google.com/p/android/issues/detail?id=35013 In other words, if you disable application notifications, Toasts also are disabled for that particular application. Could this be the reason for behaviour Tobias is facing? -- H On Jan 15, 2013, at 11:18 PM, bob b...@coolfone.comze.com wrote: I have also tried this with the Galaxy S3 and 4.1.1, and the Toast shows fine. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)
Who is your carrier? On Monday, January 14, 2013 7:06:36 AM UTC-6, Tobias wrote: I have a toast displayed in the following way: Toast.makeText(context, The message, Toast.LENGTH_LONG).show(); I am 100% I am displaying the toast from the UI thread and I can add that it worked fine for many devices including older updates of Galaxy S3 but after latest update no one of my toasts are being displayed. Have anyone else experienced this and have a solution? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en