Java Native Interface
Java Native Interface (JNI) is a technology part of the Java runtime that allows Java code to interact with platform-native libraries such as those written in C.
Elements supports JNI via the external
(Oxygene), extern
(C#), __external
(Swift) or native
(Java language) keywords.
JNI can be used both on classic Java VM apps, and also on Android to communicate between SDK- and NDK-based code.
See Also
- Mixing Android NDK and SDK
- Android NDK
JNIExport
Aspectexternal
Method Modifier (Oxygene)- Java Native Interface (JNI) Documentation at Oracle
- Java Native Interface (JNI) Tutorial
- P/Invoke (.NET)