Hello Hackbod

I added uses-permission id=android.permission.DUMP in the
android manifest.xml file and ran the application again.but the result
seem to be the same. a 0 size logfile is created at the specified file
path. am I doing any thing wrong?
any pointers are appreciated.
Best Regards,
Sudheer


On Sep 8, 4:33 pm, hackbod <[EMAIL PROTECTED]> wrote:
> You must hold the DUMP permission to read the logs:
>
> http://code.google.com/android/reference/android/Manifest.permission....
>
> On Sep 8, 2:13 am, sudheer <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello
> > I am trying to develop an application which will try to extract the
> > logs generated by system when it is executed. I try to use the exec
> > command to start logcat at the start of my program and later want to
> > collect the log messages generated during the application execution.
> > when I tried using the command 'logcat -d -f filepath',  an empty file
> > is created in the specified filepath . Is there any way for me to
> > redirect the logs generated by application into a file in the android
> > file system?
> > how should I go about this?
>
> > Thanks in advance,
> > Sudheer- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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