It there a way to monitor Android system api calls?
I want to monitor several system functions like displayMetrics.heightPixel, Build.DISPLAY or access to the Accelerometer/Gyroscope for arbitrary Apps running on the system.
The goal is to log those function calls into a file.
Is there a way to monitor it, without reimplementing Android?
Do any of you know a good approach for that ?