Is it possible to moniter a third paty application in android means I want to know about all log of the third party app,like app xyz access contact list at 2:30am ,thursday.
Can we change the framwork code like whenever any app run any query on sqlite framework class will generate one log ? I think it should be possible through rooted device but not sure how to implement this.
By forking Android to add in your changes, creating your own ROM mod that contains your forked copy of Android, and installing that ROM mod on your device.
At best, you could skip the “creating your own ROM mod” step and attempt to copy the revised framework JAR into your rooted device. However, if that framework JAR does not line up with the rest of your OS, various things may not work. That’s why the only safe way to do this is via a full ROM mod.