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