New Chinese Fifth-Generation Fighter Revealed (AIN Online)# Aviation - 航空航天
i*p
1 楼
There are lots of examples that Android C/C++ native calls Java APIs.
However, all of these examples I have read are the Java APIs call native
first and then the native calls other Java APIs by using the passed JNI-ENV.
How could C/C++ native calls Java APIs without the passed JNI-ENV, or by
anyway to get the JNI-ENV?
Can you give an example or a link for it?
Thanks!
However, all of these examples I have read are the Java APIs call native
first and then the native calls other Java APIs by using the passed JNI-ENV.
How could C/C++ native calls Java APIs without the passed JNI-ENV, or by
anyway to get the JNI-ENV?
Can you give an example or a link for it?
Thanks!