pyjnius icon indicating copy to clipboard operation
pyjnius copied to clipboard

Access Java classes from Python

Results 140 pyjnius issues
Sort by recently updated
recently updated
newest added

Trying to run the example from: https://pyjnius.readthedocs.io/en/stable/packaging.html The code runs correctly without pyinstaller. With pyinstaller used (which otherwise works correctly), the resulting executable fails when run with: `Error occurred during...

example.py ``` class Test(PythonJavaClass): __javainterfaces__ = ['some/Test'] @java_method('()V') def setter(self): print('setter') @java_method('()V') def getter(self): print('getter') class TestClass(JavaClass, metaclass=MetaJavaClass): __javaclass__ = 'some/TestClass' getter = JavaMethod('()V') setter = JavaMethod('()V') testClass = TestClass()...

While revamping something about handling the services part of python-for-android I ran into this pyjnius error which seems to be a bug when calling the following now changed function in...

` from java.types import ArrayList # this is just a Java ArrayList, it's just wrapped in another Py file. elements = [1, 2, 3, 4] def put_elements_in_another_list(elements_list): list_internal = ArrayList()...

Sample project is here https://github.com/coderextreme/pythonSAI. I think I may need to use more than autoclass --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44904111-using-autoclassed-concrete-classes-and-pyjnius-is-complaining-that-my-interface-objects-have-no-attribute-which-are-methods-on-the-concrete-class?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We accept bounties via...

There seems to be an issue using a JavaClass that uses java.util.Properties as one of it's arguments. For example, the java class is: ``` import java.util.Properties public class Tester {...

enhancement

_From @jacskiier on October 5, 2017 18:48_ ### Versions * Python: 2.7.13 * OS: Ubuntu 16.04 * Pyjnius: 1.1.1 ### Description I am trying to make a python java class...

HI, I use pyjnius in my project. when I run my function , I get a JVM crash randomly with below message. A fatal error has been detected by the...

I'm trying to figure out how/if the JVM objects I create get dereferenced and available for garbage collection. Was trying: ``` In [1]: import jnius In [2]: jString = jnius.autoclass("java.lang.String")...

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/46275996-android-5-1-pythonactivity-mactivity-stuck?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github).