NDK development process

NDK development learning notes. 1. Write native methods in Java code. You can write the native method in the Activity or recreate a Java class. I wrote it here by re creating a Java class. public class GetString { //native method public native String getString(); } 2. Create a jni directory under the main directory. Used to store h ...

Added by christofurr on Mon, 22 Nov 2021 08:46:43 +0200

Parameter passing of C + + and Java in JNI (JNI parameter passing)

There are many basic methods and processes of how to use JNI on the Internet. If you don't know much about JNI, what JNI does, and how to establish a basic JNI program, you may refer to the following articles:The simplest example of using VC++6.0 to realize JNI HelloWorld of JNI introductory tutorialSUN JNI Tutorial In the examples of these ma ...

Added by timtom3 on Tue, 02 Nov 2021 13:54:02 +0200