Thursday, October 04, 2012

Another way of adding NDK logs in C/C++:

#include
LOCAL_LDLIBS := -llog

void LOGI(char *szMsg)
{
__android_log_write(ANDROID_LOG_ERROR,"Tag",szMsg);
}

Labels: , , ,

0 Comments:

Post a Comment

<< Home