[android-porting] how to add log in file which linked into .so file

2010-10-14 Thread qinxiaofen
hi, guys when i try to print some log in camera.cpp which linked in to libcamera_client.so. I following this method to do it. 1. add LOGV in void Camera::stopPreview() 2. make libcamera_client.so 3. replaced the phone's /system/lib/libcamera_client.so with /ANDROID_PRODUCT_OUT/symbols/system/

Re: [android-porting] how to add log in file which linked into .so file

2010-10-14 Thread 梁亦飞
Hi, Have you try logcat with V parameter like "adb shell logcat V"? or you can use LOGD or LOGI. 2010/10/15 qinxiaofen : > hi, guys > > > when i try to print some log in camera.cpp which linked in to > libcamera_client.so. > > I following this method to do it. > 1. add LOGV in void Camera::stop

Re: [android-porting] how to add log in file which linked into .so file

2010-10-19 Thread Deva R
if you want to see verbose LOGV logs in any source, enable below macro while compiling the source. #define LOG_NDEBUG=0 -- Regards, Deva www.bittoggler.com On Fri, Oct 15, 2010 at 9:27 AM, qinxiaofen wrote: > hi, guys > > > when i try to print some log in camera.cpp which linked in to > libc

Re: Re: [android-porting] how to add log in file which linked into .so file

2010-10-14 Thread qinxiaofen
Done! thank you very much! 2010-10-15 qinxiaofen 发件人: 梁亦飞 发送时间: 2010-10-15 12:58:57 收件人: qinxiaofen 抄送: 主题: Re: [android-porting] how to add log in file which linked into .so file Hi, Have you try logcat with V parameter like "adb shell logcat V"? or you can use LO