What action are you receiving?  Is it your own custom action or one defined
by Android?  If it is a custom action then you would need to figure out why
you are sending the broadcast without extras.

If it is defined by Android, then it may be some other application that
sends the broadcast, in which case you could probably ignore it if there
are no extras.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 18, 2012 at 3:00 AM, viktor <[email protected]> wrote:

> Hi,
>
> I had a simple app that has Service and Application.
>
> Service sends broadcasts by Action with extras.
>
> Application receive this broadcast and handle some action by key that
> is in extras.
>
> Sometime application receive empty extras, so if I get
> Intent.getExtras(), the Bundle will be empty;
>
> Any workarounds?
>
> --
> 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

-- 
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