Home | History | Annotate | Download | only in ndk_helper

Lines Matching refs:jni

29 //JNI Helper functions
339 jclass JNIHelper::RetrieveClass( JNIEnv *jni,
342 jclass activity_class = jni->FindClass( CLASS_NAME );
343 jmethodID get_class_loader = jni->GetMethodID( activity_class, "getClassLoader",
345 jobject cls = jni->CallObjectMethod( activity_->clazz, get_class_loader );
346 jclass class_loader = jni->FindClass( "java/lang/ClassLoader" );
347 jmethodID find_class = jni->GetMethodID( class_loader, "loadClass",
350 jstring str_class_name = jni->NewStringUTF( class_name );
351 jclass class_retrieved = (jclass) jni->CallObjectMethod( cls, find_class, str_class_name );
352 jni->DeleteLocalRef( str_class_name );