Questions tagged [pyjnius]

Pyjnius is a Python library for accessing Java classes.

Pyjnius is a library for accessing classes.

References:

170 questions
-1
votes
1 answer

Avoid using extends and implements in my class

I am brand new to Java and need to use one of the following class definitions in my project. import androidx.fragment.app.Fragment; public class ScannerFragment extends Fragment implements myclass { ... ... ... } Or: public class…
Frederik Petri
  • 451
  • 8
  • 24
-1
votes
1 answer

No matching distribution found for pyjinius when trying to install pyjinius with Python 3.6

I am trying to run a kivy example App on Android, but it depends on the pyjinius library. I cannot seem to install pyjinius on Ubuntu 18. I tried installing pyjinius using pip3 install pyjinius which did not work. It gave me the following…
Hmerman6006
  • 1,622
  • 1
  • 20
  • 45
-1
votes
2 answers

Using MediaStore in kivy with pyjnius

I am trying to develop an android media player using kivy and I am currently stuck on getting all the audio files data on the android device and populating the data in a recycle view. I have done some research and found out that I can achieve this…
Wilson
  • 1
-1
votes
2 answers

Sending PythonJavaClass into Java function with pyjnius

I'm trying to send a PythonJavaClass (NokeServiceListener) into mNokeService.registerNokeListener() but it keeps erroring out there and when printing the NokeServiceListener object I'm getting nokeLock.NokeServiceListener object at 0x97389b70 which…
GoBig06
  • 255
  • 2
  • 13
-1
votes
1 answer

pyjinius : android class not found

I am trying to use pyjinius to access android java services. following the tutorial, and in some cases the android java class is not found: from jnius import autoclass #this works TextToSpeech = autoclass('android.speech.tts.TextToSpeech') #this…
1 2 3
11
12