pyjnius
pyjnius copied to clipboard
Access Java classes from Python
Writing from phone, so I can't write a pretty .rst for now. We should have a doc page for whatever known combinations of environments we are sure won't work due...
I am using pyjnius to pass nested Python dictionaries and lists to Java Sometimes the content of Map and ArrayList disappears. It usually goes okay with simple one-dimensional lists and...
In the file `jnius_conversion.pxi` in the function `convert_python_to_jobject` the local reference `retclass` is not freed and in the function `convert_pyarray_to_java` the local reference `j_class` is not freed. ## Want to...
On Android, accessing static variables, inherited from a java interface, in nested java classes returns python 'None'. - Ref: [Example Java source on gist .](https://gist.github.com/jitendranair/f920113e2938f4b6c00d) - Accessing Nested class variable...
Hi there :) I'm trying implement feature 'enable mobile data' by translating from java code to further python code: ``` python Context = autoclass('android.content.Context') Class = autoclass('java.lang.Class') PythonActivity = autoclass('org.renpy.android.PythonActivity')...
I'am calling my class (_JasperCustomScriptlet) from java. I follow the example (Java class implementation in Python) to make my own version (_JasperCustomScriptlet). Some times not always i get the following...
I am not a java dev, but this looked too weird to me to be normal. Note that I keep switching between calling pop on instance(stack1/stack2) or class itself (Stack)....
I'm using the android library from SymmetricDS through pyjnius. Specifically, there's a registry class containing a private static hashmap. I've modified it to log program states, as follows: ``` java...
I managed to install jnius on Windows 7 (I had to use MinGW to build it - I got compiler errors using Visual C++) but when I try to "import...
I created a class that implements one method of a built-in Java interface using PythonJavaClass. My class' constructor takes a function as the first argument and when the method I...