### 类型 | | 发送方式 | 特点 | 应用场景 | | --- | --- | --- | --- | | 普通广播 | sendBroadcast() | 异步、无序 | 普通场景 | | 有序广播 | sendOrderedBroadcast() | Receivers 轮流,可附加信息 | 拨号广播的拦截、格式化 | | 黏性广播 | sendSticktBroadcast() | 接收者主动 | 监听电池状态信息的广播 | ### 广播接收器注册方式 - 动态:registerReceiver() - 静态:在manifest 中添加 <receiver> ### 安全性 使用LocalBroadcastManager,避免其他应用发来的恶意广播,避免内部广播被其他应用接收