Mike is right. And if you have say, 10 apps who generate toasts like
that, then the user gets confused. Most of the time, the toasts will
fail to even catch the users' attention(key pad locked). So, whats the
use?

Thanks and Regards.
Kumar Bibek
http://tech-droid.blogspot.com

On Jul 19, 10:46 pm, Mike dg <[email protected]> wrote:
> It's very  jarring to the user. There is no indication of what app the
> toast is from. Why not just use a notification?
>
> On Jul 19, 12:17 pm, droidsan <[email protected]> wrote:
>
> > Hi,
>
> > What's the reason why a Toast should not be created from a
> > BroadcastReceiver?
>
> > Creating a Toast from a BroadcastReceiver (generated via XML) works
> > well even if the "Creating Toast Notifications" documentation only
> > mentions that Toasts can be created by Activities or Services 
> > (seehttp://developer.android.com/guide/topics/ui/notifiers/toasts.html). I
> > am interested in the reason why a Toast should not be created from a
> > BroadcastReceiver and what could happen (in the worst case) if it is
> > created from a BroadcastReceiver.
>
> > Thanks for your replies.
>
> > Droid-san
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to