but how to do that on emulator?? On Sat, Feb 28, 2009 at 7:57 AM, rktb <[email protected]> wrote:
> > If you want a readymade trace, I am not sure. However, if you are > willing to generate one, you could just enable the debug logs on all > the components that you are interested in. > > Here are a few example: > Most of the app. files have log statements in the form of Log.e or > Log.v . > > File: packages/apps/Music/src/com/android/music/MusicPicker.java --- > Some log statements in this file are behind the DBG value ... where > DBG is set to "false" by default. You can set that to "true" and get > more logs. > > File: frameworks/base/media/java/android/media/MediaPlayer.java --- > There are a few log statements here, but you can add more. > > File: frameworks/base/media/jni/android_media_MediaPlayer.cpp --- This > is the JNI layer. By default the debug logs are turned off. "//#define > LOG_NDEBUG 0" ... Enable this line to get more logs. > > Similarly for the mediaplayer.cpp [frameworks/base/media/libmedia/ > mediaplayer.cpp]. > Similarly for mediaplayerservice [frameworks/base/media/ > libmediaplayerservice/MediaPlayerService.cpp] > Similarly for PVPlayer and playerdriver [external/opencore/android/ > playerdriver.cpp] > And, to enable OpenCORE logs, you need to build with ENABLE_PV_LOGGING > set to 1 [make -j ENABLE_PV_LOGGING=1]. > > -Ravi > > > > On Feb 27, 11:14 am, "[email protected]" <[email protected]> > wrote: > > Hi how can i get traces from mediaplayer application upto > > openmax,media engines on simulator. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
