A
Ali
I am looking for an equivalent of RegisterNatives method in JNI which
can be used in java and not C.
Going a bit deeper, there is this JNI dll which has a standard java
format for its methods (Java_packageName_className) and for several
reasons I have to map the methods to some java classes in another
package and with different names.
A quick solution would be using RegisterNatives in the JNI dll and
manually specifying the class, however, one rule of the game is to not
touch the jni dll source code.
Now I wonder if there is any equivalent of RegisterNatives which can
be used in the java files. Any decent examples are well appreciated.
can be used in java and not C.
Going a bit deeper, there is this JNI dll which has a standard java
format for its methods (Java_packageName_className) and for several
reasons I have to map the methods to some java classes in another
package and with different names.
A quick solution would be using RegisterNatives in the JNI dll and
manually specifying the class, however, one rule of the game is to not
touch the jni dll source code.
Now I wonder if there is any equivalent of RegisterNatives which can
be used in the java files. Any decent examples are well appreciated.