Android Runtime Capture / Capture

Is there a way to capture / intercept an Intents application at runtime without changing the scope of Android? Changing the scope of Android may require too much work. Please help me.

+12
source share
1 answer

To view Intents as they occur, run logcat in the shell and filter it before all Intents, like this:

adb logcat | fgrep -i intention

(You can also add a filter only for the Intents of your application, but this will exclude the Intent sent to your application by the system and other applications.)

This should show intentions such as

I / ActivityManager (585): start of action: intent {action = android.intent.action ...}

To see system-wide intentions , try the Intent Intercept app .

To see all the intentions sent to your own classes, then

For information on all standard Intent actions, see Intent .

+18
source

Source: https://habr.com/ru/post/976750/


All Articles