public static Process getLogcatProcess(String buffer) throws IOException { List<String> args = getLogcatArgs(buffer); Process process = RuntimeHelper.exec(args); return process; }
args.add("-d"); // -d just dumps the whole thing dumpLogcatProcess = RuntimeHelper.exec(args); reader = new BufferedReader(new InputStreamReader(dumpLogcatProcess .getInputStream()), 8192);