Welcome to PyJNIus#

PyJNIus is a Python library for accessing Java classes using the Java Native Interface <https://docs.oracle.com/javase/8/docs/technotes/guides/jni/> (JNI).

It either starts a new Java Virtual machine (JVM) inside the process, or retrieves the already surrounding JVM (for example on Android).

PyJNIus is managed by the Kivy Team and can be used with python-for-android.

PyJNIus is released and distributed under the terms of the MIT license. You should have received a copy of the MIT license alongside your Kivy distribution. Our latest license is also available.

This documentation is divided into differents parts. We recommend you to start with Installation, and then head over to the Quickstart. You can also check Android for specific example for the Android platform. If you’d rather dive into the internals of PyJNIus, check out the API documentation.

Indices and tables#