[android-developers] Re: how to evoke pv logger
To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: /* Release mode-- No logging */ #define PVLOGGER_INST_LEVEL 0 Change this value to 5 and extlibs/pv/android/thread_init.cpp: #if 0- Change this value to 1 PVLoggerAppender *appender = new AndroidLogAppender(); ... ... #endif I haven't tried this in awhile, not sure if it still works. On Nov 5, 12:07 am, already <[EMAIL PROTECTED]> wrote: > hello, I want to see the pv logs while debug. > I see in pv part, the logger is always printed as: > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > (0,"PVAuthorEngine::SetLogAppender")); > but can not find how to enable pv log, and where it is printed, > Is there any body knowing about this? > > Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
Hi, i tried the above modifications, i am not getting the logs from libraries (pv player). PV logger enabling method has changed? Any other methods to enable. I am trying it on the emulator. On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: > > To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > /* Release mode-- No logging */ > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > and extlibs/pv/android/thread_init.cpp: > > #if 0- Change this value to 1 >PVLoggerAppender *appender = new > AndroidLogAppender(); > ... > ... > #endif > > I haven't tried this in awhile, not sure if it still works. > > On Nov 5, 12:07 am, already wrote: > > hello, I want to see the pv logs while debug. > > I see in pv part, the logger is always printed as: > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > > (0,"PVAuthorEngine::SetLogAppender")); > > but can not find how to enable pv log, and where it is printed, > > Is there any body knowing about this? > > > > Thank you > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
It works for me - I have been using it extensively in the last few weeks. On Dec 23, 10:33 pm, "develop code" wrote: > Hi, > > i tried the above modifications, i am not getting the logs from libraries > (pv player). PV logger enabling method has changed? Any other methods to > enable. I am trying it on the emulator. > > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: > > > To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > > /* Release mode-- No logging */ > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > > and extlibs/pv/android/thread_init.cpp: > > > #if 0 - Change this value to 1 > > PVLoggerAppender *appender = new > > AndroidLogAppender(); > > ... > > ... > > #endif > > > I haven't tried this in awhile, not sure if it still works. > > > On Nov 5, 12:07 am, already wrote: > > > hello, I want to see the pv logs while debug. > > > I see in pv part, the logger is always printed as: > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > > > (0,"PVAuthorEngine::SetLogAppender")); > > > but can not find how to enable pv log, and where it is printed, > > > Is there any body knowing about this? > > > > Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
i am using emulator (eclispse) on windows xp. Do i need to create filter or any configuration in ddms. Since eclipse has ddms plugin does it create problem if i run another instance of ddms? Even without running ddms seperately (using only the ddms plugin in eclispe) i am still not able to see any pv logs. I have done the code modifications as you have said and compilied it in Ubuntu. I have taken the "android.jar" files that gets create after compiling and replaced the android.jar file in the android sdk installed in windowsXP. Is this all I need to do to see the pv logger? On Thu, Dec 25, 2008 at 1:11 AM, Dave Sparks wrote: > > It works for me - I have been using it extensively in the last few > weeks. > > On Dec 23, 10:33 pm, "develop code" wrote: > > Hi, > > > > i tried the above modifications, i am not getting the logs from libraries > > (pv player). PV logger enabling method has changed? Any other methods to > > enable. I am trying it on the emulator. > > > > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: > > > > > To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > > > > /* Release mode-- No logging */ > > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > > > > and extlibs/pv/android/thread_init.cpp: > > > > > #if 0- Change this value to 1 > > >PVLoggerAppender *appender = new > > > AndroidLogAppender(); > > > ... > > > ... > > > #endif > > > > > I haven't tried this in awhile, not sure if it still works. > > > > > On Nov 5, 12:07 am, already wrote: > > > > hello, I want to see the pv logs while debug. > > > > I see in pv part, the logger is always printed as: > > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > > > > (0,"PVAuthorEngine::SetLogAppender")); > > > > but can not find how to enable pv log, and where it is printed, > > > > Is there any body knowing about this? > > > > > > Thank you > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
I think you should replace system.img in your SDK. On Thu, Dec 25, 2008 at 2:13 PM, develop code wrote: > i am using emulator (eclispse) on windows xp. Do i need to create filter or > any configuration in ddms. Since eclipse has ddms plugin does it create > problem if i run another instance of ddms? Even without running ddms > seperately (using only the ddms plugin in eclispe) i am still not able to > see any pv logs. > > I have done the code modifications as you have said and compilied it in > Ubuntu. I have taken the "android.jar" files that gets create after > compiling and replaced the android.jar file in the android sdk installed in > windowsXP. > > Is this all I need to do to see the pv logger? > > > > On Thu, Dec 25, 2008 at 1:11 AM, Dave Sparks wrote: > >> >> It works for me - I have been using it extensively in the last few >> weeks. >> >> On Dec 23, 10:33 pm, "develop code" wrote: >> > Hi, >> > >> > i tried the above modifications, i am not getting the logs from >> libraries >> > (pv player). PV logger enabling method has changed? Any other methods to >> > enable. I am trying it on the emulator. >> > >> > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: >> > >> > > To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: >> > >> > > /* Release mode-- No logging */ >> > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 >> > >> > > and extlibs/pv/android/thread_init.cpp: >> > >> > > #if 0- Change this value to 1 >> > >PVLoggerAppender *appender = new >> > > AndroidLogAppender(); >> > > ... >> > > ... >> > > #endif >> > >> > > I haven't tried this in awhile, not sure if it still works. >> > >> > > On Nov 5, 12:07 am, already wrote: >> > > > hello, I want to see the pv logs while debug. >> > > > I see in pv part, the logger is always printed as: >> > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, >> > > > (0,"PVAuthorEngine::SetLogAppender")); >> > > > but can not find how to enable pv log, and where it is printed, >> > > > Is there any body knowing about this? >> > >> > > > Thank you >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
I tried replacing system.img, still no success. On Thu, Dec 25, 2008 at 12:34 PM, freepine wrote: > I think you should replace system.img in your SDK. > > > On Thu, Dec 25, 2008 at 2:13 PM, develop code wrote: > >> i am using emulator (eclispse) on windows xp. Do i need to create filter >> or any configuration in ddms. Since eclipse has ddms plugin does it create >> problem if i run another instance of ddms? Even without running ddms >> seperately (using only the ddms plugin in eclispe) i am still not able to >> see any pv logs. >> >> I have done the code modifications as you have said and compilied it in >> Ubuntu. I have taken the "android.jar" files that gets create after >> compiling and replaced the android.jar file in the android sdk installed in >> windowsXP. >> >> Is this all I need to do to see the pv logger? >> >> >> >> On Thu, Dec 25, 2008 at 1:11 AM, Dave Sparks wrote: >> >>> >>> It works for me - I have been using it extensively in the last few >>> weeks. >>> >>> On Dec 23, 10:33 pm, "develop code" wrote: >>> > Hi, >>> > >>> > i tried the above modifications, i am not getting the logs from >>> libraries >>> > (pv player). PV logger enabling method has changed? Any other methods >>> to >>> > enable. I am trying it on the emulator. >>> > >>> > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: >>> > >>> > > To turn on PV logging, change >>> extlibs/pv/oscl/pvlogger/src/pvlogger.h: >>> > >>> > > /* Release mode-- No logging */ >>> > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 >>> > >>> > > and extlibs/pv/android/thread_init.cpp: >>> > >>> > > #if 0- Change this value to 1 >>> > >PVLoggerAppender *appender = new >>> > > AndroidLogAppender(); >>> > > ... >>> > > ... >>> > > #endif >>> > >>> > > I haven't tried this in awhile, not sure if it still works. >>> > >>> > > On Nov 5, 12:07 am, already wrote: >>> > > > hello, I want to see the pv logs while debug. >>> > > > I see in pv part, the logger is always printed as: >>> > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, >>> > > > (0,"PVAuthorEngine::SetLogAppender")); >>> > > > but can not find how to enable pv log, and where it is printed, >>> > > > Is there any body knowing about this? >>> > >>> > > > Thank you >>> >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
That's strange, it works for me:) On Thu, Dec 25, 2008 at 4:12 PM, develop code wrote: > I tried replacing system.img, still no success. > > > On Thu, Dec 25, 2008 at 12:34 PM, freepine wrote: > >> I think you should replace system.img in your SDK. >> >> >> On Thu, Dec 25, 2008 at 2:13 PM, develop code wrote: >> >>> i am using emulator (eclispse) on windows xp. Do i need to create filter >>> or any configuration in ddms. Since eclipse has ddms plugin does it create >>> problem if i run another instance of ddms? Even without running ddms >>> seperately (using only the ddms plugin in eclispe) i am still not able to >>> see any pv logs. >>> >>> I have done the code modifications as you have said and compilied it in >>> Ubuntu. I have taken the "android.jar" files that gets create after >>> compiling and replaced the android.jar file in the android sdk installed in >>> windowsXP. >>> >>> Is this all I need to do to see the pv logger? >>> >>> >>> >>> On Thu, Dec 25, 2008 at 1:11 AM, Dave Sparks wrote: >>> It works for me - I have been using it extensively in the last few weeks. On Dec 23, 10:33 pm, "develop code" wrote: > Hi, > > i tried the above modifications, i am not getting the logs from libraries > (pv player). PV logger enabling method has changed? Any other methods to > enable. I am trying it on the emulator. > > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: > > > To turn on PV logging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > > /* Release mode-- No logging */ > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > > and extlibs/pv/android/thread_init.cpp: > > > #if 0- Change this value to 1 > >PVLoggerAppender *appender = new > > AndroidLogAppender(); > > ... > > ... > > #endif > > > I haven't tried this in awhile, not sure if it still works. > > > On Nov 5, 12:07 am, already wrote: > > > hello, I want to see the pv logs while debug. > > > I see in pv part, the logger is always printed as: > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > > > (0,"PVAuthorEngine::SetLogAppender")); > > > but can not find how to enable pv log, and where it is printed, > > > Is there any body knowing about this? > > > > Thank you >>> >>> >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
Got it. i was changing in the older sdk ;-) On Thu, Dec 25, 2008 at 2:24 PM, freepine wrote: > That's strange, it works for me:) > > > On Thu, Dec 25, 2008 at 4:12 PM, develop code wrote: > >> I tried replacing system.img, still no success. >> >> >> On Thu, Dec 25, 2008 at 12:34 PM, freepine wrote: >> >>> I think you should replace system.img in your SDK. >>> >>> >>> On Thu, Dec 25, 2008 at 2:13 PM, develop code >>> wrote: >>> i am using emulator (eclispse) on windows xp. Do i need to create filter or any configuration in ddms. Since eclipse has ddms plugin does it create problem if i run another instance of ddms? Even without running ddms seperately (using only the ddms plugin in eclispe) i am still not able to see any pv logs. I have done the code modifications as you have said and compilied it in Ubuntu. I have taken the "android.jar" files that gets create after compiling and replaced the android.jar file in the android sdk installed in windowsXP. Is this all I need to do to see the pv logger? On Thu, Dec 25, 2008 at 1:11 AM, Dave Sparks wrote: > > It works for me - I have been using it extensively in the last few > weeks. > > On Dec 23, 10:33 pm, "develop code" wrote: > > Hi, > > > > i tried the above modifications, i am not getting the logs from > libraries > > (pv player). PV logger enabling method has changed? Any other methods > to > > enable. I am trying it on the emulator. > > > > On Fri, Nov 7, 2008 at 8:21 AM, Dave wrote: > > > > > To turn on PV logging, change > extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > > > > /* Release mode-- No logging */ > > > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > > > > and extlibs/pv/android/thread_init.cpp: > > > > > #if 0- Change this value to 1 > > >PVLoggerAppender *appender = new > > > AndroidLogAppender(); > > > ... > > > ... > > > #endif > > > > > I haven't tried this in awhile, not sure if it still works. > > > > > On Nov 5, 12:07 am, already wrote: > > > > hello, I want to see the pv logs while debug. > > > > I see in pv part, the logger is always printed as: > > > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, > PVLOGMSG_STACK_TRACE, > > > > (0,"PVAuthorEngine::SetLogAppender")); > > > > but can not find how to enable pv log, and where it is printed, > > > > Is there any body knowing about this? > > > > > > Thank you > > >>> >>> >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to evoke pv logger
Hi, Below mentioned changes are done and yet PV logs are not displayed while debugging. Please help me. Regards, Padmaja On Nov 7, 7:51 am, Dave wrote: > To turn onPVlogging, change extlibs/pv/oscl/pvlogger/src/pvlogger.h: > > /* Release mode-- No logging */ > #define PVLOGGER_INST_LEVEL 0 Change this value to 5 > > and extlibs/pv/android/thread_init.cpp: > > #if 0 - Change this value to 1 > PVLoggerAppender *appender = new > AndroidLogAppender(); > ... > ... > #endif > > I haven't tried this in awhile, not sure if it still works. > > On Nov 5, 12:07 am, already wrote: > > > hello, I want to see thepvlogswhile debug. > > I see inpvpart, the logger is always printed as: > > PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, > > (0,"PVAuthorEngine::SetLogAppender")); > > but can not find how toenablepvlog, and where it is printed, > > Is there any body knowing about this? > > > Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---