Please read other posts in the group before posting questions. Here is how you can run the emulator .. <android-root>$ source build/envsetup.sh <android-root>$ lunch 1 <android-root>$ make -j <android-root>$ emulator & adb logcat
On Mar 2, 12:07 am, arindam das <[email protected]> wrote: > how can I do that??I that while emulator should i load the kernel image > built for the actual board.????? > > On Mon, Mar 2, 2009 at 11:31 AM, rktb <[email protected]> wrote: > > > Yes. > > > On Mar 1, 11:45 pm, arindam das <[email protected]> wrote: > > > thanks for the reply it was really help fully.I have 1 question is it > > > possible to run emulator on open source?? > > > > On Mon, Mar 2, 2009 at 10:55 AM, rktb <[email protected]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---
