Open a pdf file from Kivy in any android version.
open-kivy-pdf-2023-11-13_03.54.07.mp4
Minimal Kivy App for Opening PDF Files
Requirements:
Follow these instructions:
- Connect your Android device to your computer
- Clone this repository folder, open it on terminal, type
poetry config virtualenvs.in-project true
,poetry shell
andpoetry install
. This will install Kivy and Buildozer on your.venv
. - Type
buildozer -v android debug deploy run logcat
and press enter - Enter on folder
.buildozer/android/platform/build-x86_x86_64_arm64-v8a_armeabi-v7a/dists/myapp/templates/
- Replace AndroidManifest.tmpl.xml by AndroidManifest.tmpl.xml from this repository
- Compile the app again:
buildozer -v android debug deploy run logcat
- Done!