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
thing.am 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,
Sudheer

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. sdk r3 : unable to find valid certification path to requested target

Hi,

beginners question:

I just tried to get the sdk r3 running on ubuntu linux 9.10. After
installation I can run tools/android, but when I try to list the
available packages I get an error message

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml,
reason: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target


strace shows that it tries to find the cert in /etc/ssl/certs/java/
cacerts.

What is the official and clean way to add the android certs to the
local key repository?

regards

-- 

2. Music Player?

I'm working on a music player in android phone, is there any source
code i can refer? For example, simple coding to play a music? Thanks.

-- 

3. No project types show up in Eclipse 3.5 Galileo

4. Setting interval to set for service

5. sdk and avd update manager

6. How hard would it be to make a second language of sorts for the Android?

7. private application on Android Market