It's going to call every time that broadcast is sent. If you want to
handle specific packages you need to do that inside the receiver by
looking at the received Intent. Each time it's done handling that
broadcast it should be garbage collected.

On Dec 8, 6:53 am, sleith <[email protected]> wrote:
> hi,
> i created application with name Test, and has a class that extends
> broadcastreceiver that listen for PACKAGE_RESTARTED.
> i use Advanced Task Killer, and killed the Test application. but when
> i kill another application, for example gmail, the Test's
> broadcastreceiver got the intent (i logged it).
>
> Does it means that broadcastreceiver will never died?
>
> Thanks :)

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