pyjnius

Installing pyjnius on Windows

不打扰是莪最后的温柔 提交于 2021-02-11 07:12:03
问题 I need to access the bluetooth on Android in my Kivy app. I am trying to setup pyjnius on Windows for developing my app. I downloaded pyjnius from GitHub and tried to setup it up for python in the kivy folder. Following the setup, I tried to run the tests and I get an error that I don't understand. I am very new to Android development, and can´t quite understand what might be problem. What am I doing wrong in my installation process? I have JRE and JDK installed in my PC. --- Edited on May 13

Installing pyjnius on Windows

匆匆过客 提交于 2021-02-11 07:11:12
问题 I need to access the bluetooth on Android in my Kivy app. I am trying to setup pyjnius on Windows for developing my app. I downloaded pyjnius from GitHub and tried to setup it up for python in the kivy folder. Following the setup, I tried to run the tests and I get an error that I don't understand. I am very new to Android development, and can´t quite understand what might be problem. What am I doing wrong in my installation process? I have JRE and JDK installed in my PC. --- Edited on May 13

How I can use startActivity method from service in python kivy/jnius?

白昼怎懂夜的黑 提交于 2021-02-08 04:29:34
问题 I want to start an activity from a service in my android application (python 2.7 & kivy). I use startActivity method for it but it's not work. When I run the app and type "buildozer android logcat" , I see this: File "jnius_export_class.pxi", line 900, in jnius.jnius.JavaMultipleMethod.__ call__ (jnius/jnius.c:24581) JavaException: No methods matching your arguments Part of my service code: from jnius import autoclass, cast PythonService = autoclass("org.renpy.android.PythonService") activity

pyjnius and python-for -android modules

為{幸葍}努か 提交于 2021-01-29 08:51:12
问题 I am new to Pyjnius module and started to learn from docs but I found many terms like auto class , cast , Intend , Activity which are not explained before in the docs and I did not use java before . I did not know the prerequisites for learning the Pyjnius and python-for -android modules . Can some one please help me how to get started for Pyjnius lib and python-for -android modules . 来源: https://stackoverflow.com/questions/64924591/pyjnius-and-python-for-android-modules