void callJavaMethod(const char* method_name,
const char* arg_format, ...) {
JNIEnv* env = m_env;
va_list args;
jmethodID method = env->GetMethodID(m_clazz, method_name,
arg_format);
if (method) {
va_start(args, arg_format);
env->CallVoidMethodV(m_object, method, args);
va_end(args);
} else {
//LOGW(
// "Can't call Java method name[%s], arg_format[%s]", method_name, arg_format);
}
}