Are you using the opensource code or the developers sdk?

If you are using opensource, "adb logcat" will generate all the logs.
I gave the path for each of the files ... so I don't know what you
mean by "where can I find these files".

If you are using the sdk, then you *cannot* generate additional logs.
Also, this is the wrong forum to ask sdk related questions.


-Ravi

On Mar 1, 10:52 pm, arindam das <[email protected]> wrote:
> i started the emulator for playing audio with command
> ./emulator -audio oss -sdcard /media/virtual/sdcard.img
>
> music plays but i dnt know how to get the traces.And as mentioned enabling
> the logs in the files mentioned will help in getting the logs.But where are
> this file and how come changing in these files will effect the emulator??
>
> On Sat, Feb 28, 2009 at 1:21 PM, rktb <[email protected]> wrote:
>
> > By running a media file ... ?
>
> > On Feb 27, 9:56 pm, arindam das <[email protected]> wrote:
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to