Android, find the sender of an Intent for a monitoring application

一曲冷凌霜 提交于 2019-12-07 17:49:21

问题


I'm developing a monitoring application for Android listening for broadcast intents: whenever some suspicious intent pattern occurs a dialog alerting the users pops up. Indeed the intents must have been triggered by the same application, to avoid useless warnings.

In general this seems not to be possible, for instance I found something here: How to find Intent source in Android? I'm asking if there is a workaround to this, for instance looking into the context or whatsoever. I really need the application name, not the just the application name to do something else.

Cheers, Gil


回答1:


I'm developing a monitoring application for Android listening for broadcast intents

I sincerely hope that you fail in your quest, as this should not be possible, for obvious privacy and security reasons.

I'm asking if there is a workaround to this, for instance looking into the context or whatsoever.

AFAIK, no, short of creating your own custom firmware.



来源:https://stackoverflow.com/questions/7199727/android-find-the-sender-of-an-intent-for-a-monitoring-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!