Hi All,

I am trying to collect the logcat logs from an application, I created
a thread and run the following code

Process pProcLogMain = Runtime.getRuntime().exec("logcat -f
logcat_main_2.txt");

It creates the file but with no content. And, I get the following
error:
Diag_LSM: Diag_LSM_Init: Failed to open handle to windiag driver,
error = 13

I have used similar code as in
http://code.google.com/p/android-random/source/browse/trunk/Logcat/src/org/devtcg/tools/logcat/LogcatProcessor.java

Appreciate if you can help me how to come over this.

Regards,
-Arun

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to