java 和 jni 相互调用

jni 回调 java 层的方法在 JNI(Java Native Interface)中,从本地代码回调 Java 方法涉及几个步骤,包括获取 Java 类和方法的引用,并使用 JNI 提供的 API 调用该方法。
Android 2024年06月26日 126次浏览