Thanks for the reply.

On Oct 31, 1:26 am, Doug <[email protected]> wrote:
> On Oct 25, 4:12 pm,SomeCoder<[email protected]> wrote:
>
> > Is it possible to register multiple BroadcastReceivers for the same
> > Intent in the same application and have them all run?
>
> You might want to read the documentation for BroadcastReceiver,
> understand the different between normal and ordered broadcasts, and
> find out which one the third party is generating.  My guess is that
> it's generating an ordered broadcast and sometimes its own receiver is
> catching it first and aborting it.
>
> I don't think it's a good idea to re-broadcast normal broadcasts,
> because I imagine your receiver and any others could get called more
> than once (or even infinitely?!) if you're not careful.  And I don't
> think it's possible to force yourself to receive an ordered broadcast
> if it was aborted upstream.
I gave up on the rebroadcast idea.

My quick and dirty solution was to register a single receiver for my
own handler, and then explicitly create an instance of the third party
BroadcastReceiver and invoke onReceive() on it.  It seems to work.


>
> Doug

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