问题
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