Android: efficient way to read logcat output

How to most effectively read the output of a running process

Let me explain what I'm trying to achieve.

I am trying to read LogCat through my application on the phone

I want to make sure that any update in logcat is reflected instantly, and the application works efficiently, for example, consumes less power.

+3
source share
2 answers

android-logger may interest you. This is an open source application that allows you to read logcat from an application on your phone. I am sure that you will find the code you need in this application.

+5
source

Parameters:

  • Eclipse. "logCat", Window- > Show View...- > Other- > Android- > LogCat.
  • ADB. android. "adb logcat" ( , # 1, ).

:

  • !
  • . eclipse logCat , ..
  • . USB ( !)
+1

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


All Articles