How can one read the output of a running process in the most efficient manner
Let me explain what i am trying to achieve.
I am trying to read logcat via my app on the phone
i want to make it such that any update in the logcat is instantly reflected and the app is efficient , like less battery consumption.
android-logger may be of interest to you. Its an open source app that allows you to read logcat from an app on your phone. I'm sure you will find the code you need in this app.
Options:
To be efficient: