JP wrote:
> Strike "Register" broadcast receiver in the manifest - this seems to
> be meerly a declaration of the receiver.

No, this means the receiver runs outside the context of any given
component (e.g., activity or service). For example, you need this with
the ACTION_BOOT_COMPLETED Intent, since none of your activities or
services will be running by the time that Intent gets invoked.

> No intent filters; I check
> the specific event types _ON/_OFF in the receiver's onReceive()
> method.

Lots and lots of intents get broadcast -- do you really need to see them
all?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

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