[英]How to receive all broadcast message?
I want to know all broadcast message that occur at Android system or third-party application. 我想知道在Android系统或第三方应用程序上发生的所有广播消息。
Broadcast messages that occur at Android system are so easy to know because make broadcast receiver, add intent-filter(all broadcast action) and receive :). 在Android系统上发生的广播消息非常容易知道,因为使广播接收器,添加intent-filter(所有广播操作)并接收:)。
But messages that occur at third-party application are difficult to know because i don't know there broadcast message action :( 但是在第三方应用程序中发生的消息很难知道,因为我不知道那里存在广播消息操作:(
How to receive broadcast intent at third-party application? 如何在第三方应用程序上接收广播意图?
无法任意注册任何广播事件,但是可以使用以下终端命令列出所有历史广播和已注册的广播接收器:
dumpsys activity broadcasts
Essentially, you would receive only those broadcasts for which you have registered. 本质上,您将只收到您已注册的广播。 It is not feasible/possible to receive all the broadcasts.
接收所有广播是不可行的。 In fact, if it is somehow possible, it would be a HUGE security breach !!!
实际上,如果有可能,那将是巨大的安全漏洞!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.