Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-17 Thread Tobias Lindberg
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/**

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Kostya Vasilyev
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
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.

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Raghav Sood
@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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
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.

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Kevin Duffey
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread b0b
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.

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Tobias Lindberg
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:

[android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Tobias
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Kevin Duffey
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,

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Kevin Duffey
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread bob
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(); }

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Harri Smått
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Tobias Lindberg
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Mark Murphy
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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Kevin Duffey
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

[android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-14 Thread bob
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