摘要:
先从一个经典例子说起,Java如何调用本地接口。步骤如下:1.创建HelloWorld.java[java] view plaincopyclassHelloWorld{static{System.loadLibrary("HelloWorld");}publicnativevoidmyprint(... 阅读全文
摘要:
#include#include#include#includeusingnamespaceSystem;usingnamespaceSystem::Text;//jstringToStringString^jstringToStr(JNIEnv*env,jstringjstr){char*str=... 阅读全文