Logging all events in android

19 views
Skip to first unread message

Ajay Kumar

unread,
Sep 9, 2019, 10:01:15 AM9/9/19
to Android Building
Hi, I am new to building android from source. In my custom rom (for testing), I need to log all events (like an app opened, app closed, new notification arrived and all other possible events) in the android phone.

I would like to know where to add the logging code. As far as I know, the system server is the place to do so. Please correct me if I am wrong. Also, please name the primary file to look at if possible (easier for me to change rather than looking at entire code).

Thank you.
Reply all
Reply to author
Forward
0 new messages