Jni data is transmitted through parameters.

I think there are two parameter types for jni data to send to JAVA, through parameters, instead of returning a value. I want to know what to do?

JNIEXPORT jstring JNICALL Java_com_tzym_jni_Analyze_funGetPulse

(JNIEnv *env, jobject obj, jstring charPath,jstring charType,jdoubleArray can)

{

}

tried to find a lot of search engines, but could not find the results.

Jul.16,2021
Menu