Is there a way to somehow intercept calls to the standard input in android and perform some other action?
You can usually get some kind of log in desktop Java, so there are ways to set up a different logging handler / implementation. However, Android seems to have a static Log call, and I could not find any information about changing the default behavior.
I understand that I can track the device’s log via ADB, but I would like to have different behavior when launching applications on the device that it selects (for example, following a certain instruction when the program starts).
source
share