如果你从未接触过JNI,可以看一看,用java调用C++写的本地方法
这是我自己写的JNI的实例,部分抄袭,但是按照流程来,一定能用
jni入门
这个是我搜集的jni的api。我作java本地c实现的时候多想有一本呀。有这个想法的同志们可以下载
ndk
很多都是在eclipse上,运行的JNI,这里我用的是android studio写的JNI,前提是自行安装NDK啊,少年。
jni经典技术学习,不容错过
jni测试,java调用c,c调用java
java native interface,called JNI. this document tell you the detail of JNI. happy to download!
一个关于jni简单例子