当前位置: 代码迷 >> Android >> Android的静态注册广播有关问题
  详细解决方案

Android的静态注册广播有关问题

热度:20   发布时间:2016-05-01 20:40:41.0
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.
  相关解决方案