Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有三个活动都注册到同一个广播接收器。哪个活动将获得第一个广播接收器?任何源代码片段都将有助于解释
broadcastreceiver 将随机接收正常广播。如果您希望您的广播接收器按顺序接收广播,请使用 AndroidSDK 提供的有序广播。去谷歌上查询。