Is it possible to read LogCat messages for all processes? (like in android studio when we choose 'No Filter' option)
When I execute this:
File filename = new File(Environment.getExternalStorageDirectory() + "/mylog.txt");
if (filename.exists()) {
filename.delete();
}
String cmd = "logcat -f " + filename.getAbsolutePath();
Runtime.getRuntime().exec(cmd);
it only writes logs connected to my app.