Android Intercepting Events From Other Apps

Deadly 提交于 2019-12-25 12:33:10

问题


Does anyone knows how to intercept events from other 3rd party Apps, say, games, Maps, etc. This includes events like motionevents, screen prompts, etc.

We have limited success with capturing touch events via the AccessibilityService, click, longclick, etc. But hitting a blank dealing with motionevents such as gestures or how the users are interacting with the screen.

(we have approval from users to capture such information in a control study)

We believe that if we root the phone (mess with the kernel) we can get such data but this inadvertently void the warranty on the user phone, so is there any other way to obtain such information on the API level?

Many thanks!


回答1:


In case you are talking about your application gathering information about other applications life time interaction with the user then definitely no.

If this would be possible you could easily write a key logger and steal someones private data.



来源:https://stackoverflow.com/questions/3666432/android-intercepting-events-from-other-apps

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