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.
是否可以在单个应用程序中在 BOOT_COMPLETED 上运行多个 BroadcastReceiver?
是的,但没有理由这样做,因为您可以简单地将它们全部放在一个 BroadcastReceiver 中。
由于每个都将运行,ON_BOOT_COMPLETED,它会产生相同的结果,而不是系统猪。