How to collect logs for every event which occurs in android device?

血红的双手。 提交于 2019-12-25 14:20:11

问题


I wanted to collect log for every event which occurs in android device like when user starts any application or when any application have notification for user.

Currently I have broadcast receiver listening for every event but it did not listened to certain events, so I searched on internet and it suggested to give priority to events while registering then in manifest file. Now the question is should I give priority to every event and if yes what priority should I give them.

Thanks.


回答1:


Accessibility Service in android can react to nearly all events.



来源:https://stackoverflow.com/questions/29732402/how-to-collect-logs-for-every-event-which-occurs-in-android-device

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