python-for-android
PyJNIus
Our great sponsors
python-for-android | PyJNIus | |
---|---|---|
55 | 5 | |
8,017 | 1,351 | |
1.5% | 0.5% | |
8.1 | 6.7 | |
11 days ago | 12 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-for-android
- Error compiling kivy based app to APK using Buildozer
-
Error during build process on Buildozer + kivy. I'm tired). 2 days of struggle.
With that said the error is probably caused by something else, if you can't get it working post the complete build output with log_level=2. It could be an issue with your Java environment as per this issue https://github.com/kivy/python-for-android/issues/2790
-
Recipes in kivy
I assume you are referring to Android here... The existing p4a build recipes are located in the pythonforandroid/recipes directory, you need make a grpc directory in this format.
- Error during compilation, before was working :(
-
App runs but crashes on calling on openai function , llama_index , langchain
You can't use any random library on Android, you are limited to pure python code and libraries with a build recipe for cross compilation. I am not familiar with the packages you try to use here, but probably there are no existing recipes and you'll need to provide that yourself to get it working (which, if I had to guess, is not going to be easy)
-
Compile iOS app on Mac after development on Windows
Build recipes are used to compile libraries for use on mobile platforms, see kivy-ios recipes directory and the corresponding python-for-android recipes directory. The quality varies here, some recipes may use outdated versions or provide limited library functionality. If you develop on Windows, you can install and use pretty much any Python package, but on mobile platforms, you are limited to those that are either 100% pure python, or have a build recipe.
-
Anyone succeeded in kivy+ocr?
figure out a recipe for buildozer. imo harder, as compiling is hell/we aren't trained to compile as python programmers. if you have C/C++ experience and have used make/clang before this route is for you. https://github.com/kivy/python-for-android/blob/develop/doc/source/recipes.rst
-
Budozer not find swagger-client that satisfies
This should work as long as they are either pure python modules, or have a matching build recipe in python-for-android
- AndroidX Issue
- Building With Scipy
PyJNIus
- ImportError: DLL load failed: The specified module could not be found.
-
How to implement Fingerprint in kivy python
I am not aware of any good example code for this, but you can access platform-specific APIs with pyjnius (android) and pyobjus (ios). This should allow you to implement fingerprint authentication using Google/Apple APIs for those platforms -- for Windows, Linux, MacOS you probably will need to research other solutions for doing this with Python (it doesn't really involve kivy)
-
buildozer -v android debug error
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.3.0.zip
-
Reference gathering about development for android
In terms of Kivy and Android, there are two main repositories worth checking out. The first is pyjnius which is a bridge to the Android APIs, and the second is plyer which uses pyjnius to implement Android-specific features (see plyer/platforms/android directory)
-
How do I store user authentication token in my kivy app?
I have never used KeyStore to be clear, but yes, you would use pyjnius to access native Android classes/services. Just a quick google landed this issue which contains some partial autoclass that probably is something like how you'd do this..
What are some alternatives?
buildozer - Generic Python packager for Android and iOS
jpype - JPype is cross language bridge to allow Python programs full access to Java class libraries.
KivyMD - KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications. https://youtube.com/c/KivyMD https://twitter.com/KivyMD https://habr.com/ru/users/kivymd https://stackoverflow.com/tags/kivymd
plyer - Plyer is a platform-independent Python wrapper for platform-dependent APIs
KivMob - AdMob support for Kivy
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
PlaystoreDownloader - A command line tool to download Android applications directly from the Google Play Store by specifying their package name (an initial one-time configuration is required)
cffi
gplaydl - Command Line Google Play APK downloader. Download APK files to your PC directly from Google Play Store.
PyCUDA - CUDA integration for Python, plus shiny features
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
scapix - Scapix Language Bridge