My sdk version is 1.6 and I use the sample code in external\webkit
\WebKit\android\plugins\sample.
But I find that I don't always get loggint output in LogCat. Sometimes
some log ouputs were send to LogCat and I can see it, but almost of
time, there is nothing at all.
The log code I use is like this:
ANPLogInterfaceV0 gLogI;
...
gLogI.log(instance, kDebug_ANPLogType, "enter NPP_New\n");
gLogI.log(instance, kDebug_ANPLogType, "-------------------
NPP_SetWindow");
I put these two sentences in NPP_New and NPP_SetWindow, but didn't
works.
I also tried another approach.
#define LOG_TAG "mywebkit"
#include "utils/Log.h"
...
LOGV("enter NP_Initialize\n");
LOGV("enter NPP_New\n");
but it also didn't work.
Does anyone know how to output log in a npapi plugin on android,
thanks a lot!
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to
android-...@googlegroups.com.
To unsubscribe from this group, send email to
android-platfo...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-platform?hl=en.