Android的静态注册广播问题

引用

2. Static registering
The advantage and the disadvantage of static registering is once a broadcast is registered, whenever an intent is fired, it will receive it, not matter if the application is dead or it hasn't started yet.

To do it, include XML code in the Manifest file specifying the name of the broadcast receiver and the intent filter.

你可能感兴趣的:(android)