i want to see the logs of the Android OS source code (which is in c++) On Tue, May 5, 2009 at 3:47 PM, maha lakshmi <[email protected]> wrote:
> Hi, > > If you want see the logs from your C++ application, follow these > steps. > > 1. use fprintf(stderr,..._); to print the logs in your source code. > 2. launch ./emulator -shell > 3. In another prompt, > Type these commands > > $ adb shell stop > $ adb shell setprop log.redirect-stdio true > $ adb shell start > > 4. Then type > $ adb logcat > > It will display all the logs from the emulator. > > On 5/5/09, Fred Grott(shareme) <[email protected]> wrote: >> >> >> are you referring to the log in the traces file? >> >> >> On May 5, 4:18 am, Dilli <[email protected]> wrote: >> > Hi all >> > >> > I am developing an application using media player >> > >> > I want to print total log to printed ( with the logs in the source >> > code of android - media player) >> > >> > ie. the android(os) source code is in c++ and i trace the code and see >> > the printing of error messages. >> > >> > but while compiling my project source and running on device i cant >> > see the messages printed in android source >> > >> > I enabled device debugging in android manifest file. >> > >> > I want to print the error messages those are placed in android source >> > (os) >> > >> > can any one tell me how to achieve this. >> > >> > Thank you >> >> >> >> -- Dilli Rao. M --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

