public class Security {
public native byte[] DecryptMsg(String strMsg);
public native byte[] EncryptMsg(String strMsg);
public native byte[] EncryptPass(String strPass);
static{
System.loadLibrary("security");
}
}
public class Security {
public native byte[] DecryptMsg(String strMsg);
public native byte[] EncryptMsg(String strMsg);
public native byte[] EncryptPass(String strPass);
static{
System.loadLibrary("security");
}
}
4 回答970 阅读
4 回答887 阅读
1 回答822 阅读
1 回答656 阅读
1 回答526 阅读
586 阅读
566 阅读
native方法已经写好了,下一步make一下,再下一步生成头文件,再下一步创建c或者c++引入头文件实现里面的方法就可以了。