Search code examples
androidandroid-intentandroid-activitybroadcastreceiver

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


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.


Solution

  • Accessibility Service in android can react to nearly all events.