Error wile calling exec("logcat");

by Arun » Tue, 09 Mar 2010 23:27:33 GMT


Sponsored Links
 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

--



Other Threads

1. draw a 2d marker on a openGL scene

Hi guys!

I've a problem and I'm not able to solve at the moment.

I have realized a grid with openGL on a GLSurfaceview. This grid
rotates at 360 on all the aces using the orientation sensors.

Now I'd like to put over it some markers at specified coordinates,
such as 2D objects, as if they were attached to the grid, because they
have to rotate together to the grid.

How how I can make it?

Thanks.

Paolo

-- 

2. Uninstall an app with drag and drop request

Steps:
1. Open Application Tray
2. Long hold icon (application tray closes and tab changes to rubbish
bin)
3. Drag icon onto the rubbish bin

Current functionality is to cancel the shortcut create.

However, it would be great if it also popped up the "Uninstall
application?" screen.

-- 

3. Problems Building Android Source Code with Eclipse

4. CheckBox image alignment issue

5. "Activity pause timeout for HistoryRecord" -- Any idea how does this happen

6. Problem with startManagingCursor

7. Process android.process.media is not responding.