Save Data of LogCat in android -


i want save contents of log cat specific file in android. used eclipse ide develop android application.

how can achieve ?

thanks.

here way logcat contents progrmatically.

 process process = runtime.getruntime().exec("logcat -d");   bufferedreader bufferedreader = new bufferedreader(      new inputstreamreader(process.getinputstream()));   stringbuilder log=new stringbuilder();  string line = "";  while ((line = bufferedreader.readline()) != null) {      log.append(line);  } 

check this link more details.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -