且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在JNI中使用参数调用Java方法

更新时间:2023-12-03 22:35:46

请参阅 https://***.com/a/14872927/755804 可能是这些: https://***.com/a/14021142/755804 https://***.com/a/15941319/755804 https://***.com/a/21109940/755804

Please see https://***.com/a/14872927/755804 and probably these: https://***.com/a/14021142/755804 https://***.com/a/15941319/755804 https://***.com/a/21109940/755804

调用静态方法和非静态方法之间有一些区别,但差别不大. 我建议您从一些可行的方法开始,然后逐渐将其更改为所需的内容.

There is some difference between calling static and non-static methods, but not much. I suggest you start with something that works and gradually change it to what you want.