Getting log information

by sudheer » Sun, 07 Sep 2008 09:26:46 GMT

Sponsored Links
 Hello All

I am running an application in emulator. how can I get the logs re
directed to a file in android file system (say ../../tmp/mylog.txt)??
any idea?
I tried using adb logcat -f "file" option but it isn't returning any i doing something wrong?
or is there a method to do this.

my scenario is
I install an application using install command
I execute the application (using activity manager)
I need to get the adb logs generated for this application execution to
a file in android file system
which I will recover later to my work station.

I  tried using adb logcat -f option and it didn't dump any data into
the file.
whats the best way to do this?

any pointers will be appreciated.

Best Regards,


Other Threads

1. 鈥淭he application xxxxxxxx (process xxxxxx) has stopped unexpectedly. Please try again .鈥

Have you looked at the stack crawl in the log?  Nobody can give help unless
you at least provide that.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


2. How to capture video frames?

Hi! Im trying to capture frames from a video file, but I dont know
how to do it. Are there any
classes like FrameGrabbingControl (in JMF) for Android? Is it possible
with MediaPlayer and MediaRecorder classes? Thanks.


3. How to track down: java.lang.IllegalArgumentException: View not attached to window manager

4. Java Swing/AWT class on Android

5. What is the best way to perfrmo a query on a Pepole.

6. debugger not working

7. Cupcake wiggly layout