Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner commented Dec 28, 2024

This PR adds support for libpyjni to enable JNI in Python which is required by pyjnius.

To new environment variables introduced:

  • FLET_JNI_READY - set to 1 if libpyjni.so was in site-packages, successfully loaded and JNI initialized.
  • MAIN_ACTIVITY_JAVA_CLASS_NAME - the name of Java class that has mActivity static field holding a reference to app's MainActivity.

@FeodorFitsner FeodorFitsner changed the title Added Java loadLibrary support for Android Added Java loadLibrary to Android plugin to support pyjnius Dec 28, 2024
@FeodorFitsner FeodorFitsner changed the title Added Java loadLibrary to Android plugin to support pyjnius Added Java loadLibrary to Android plugin to support pyjnius Dec 28, 2024
@FeodorFitsner FeodorFitsner merged commit 79683d7 into main Dec 28, 2024
2 checks passed
@FeodorFitsner FeodorFitsner deleted the java-load-library branch December 28, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants