pyjnius
pyjnius copied to clipboard
Access Java classes from Python
I'm trying to implement Android webview with the address bar and Android back button support. When I open webview, focus on the address bar, then press Android back button, everything...
As remarked by cmakdonald, the windows builds seem to raise a memory access violation: ``` all: BUILD SUCCESSFUL Total time: 5 seconds ============================= test session starts ============================= platform win32 --...
I am trying to implement callback from Java to python using pyjnius My Code: TestClass.py ``` dataStoreClientPackage = autoclass('com.test.TestClient') handle = testClientPackage(Context) print(handle) serviceConnection = Service_Connection_Callback() handle.connect(Constants.DATA_DIR, Constants.namespace, serviceConnection, None)...
I am facing an issue whereby the ``ClassLoader`` seems unable to load classes in separate threads. This is the error I get ``SEVERE: MASM0010: Unable to unmarshall metro config file...
I wanted to use biometric authentication using https://developer.android.com/reference/android/hardware/fingerprint/FingerprintManager can anyone give me code/idea of how to do it exactly in pyjnius in kivy?
I follow the Installation [https://pyjnius.readthedocs.io/en/stable/installation.html#installation](url), execute`sudo python setup.py install` and `make`. Then I execute `make tests`. But I got 32 errors. **Error output:** (cd tests; env CLASSPATH=../build/test-classes:../build/classes PYTHONPATH=..: pytest -v)...
Hello, I've been trying to use pyjnius lately, and find it rather useful. However, I keep bumping into the same error : jnius.JavaException: Class not found b'org/jnius/NativeInvocationHandler' I started to...
Basically this question is regarding [https://github.com/kivy/pyjnius/issues/304](issue) and [https://github.com/kivy/pyjnius/pull/363](fix). I am on arch and have set the default to java 11 and I get the following error: SystemError: Error calling dlopen(b'/usr/lib/jvm/default/jre/lib/amd64/server/libjvm.so':...
The Pyjnius installation doc - https://pyjnius.readthedocs.io/en/stable/installation.html - contains the following - which is quite erroneous: " You need the GNU Compiler Collection (GCC), the JDK and JRE installed (openjdk will...
I'm trying to test out the sample code provided on Github and I'm getting a syntax error. I have a feeling this might be a pathing issue but pyjnius is...