Application for Paastocht and Hemelse Hike hiking tours. Made with Kivy.
The flask backend script that serves the mapdata. The .mbtiles files are not in Git. Ask Ernest94 for the files.
Some python and Jupyter notebook files to tryout some things while making the app.
Download the repository: git clone https://github.com/Ernest94/Zwerfbond.git
Als pip nog niet is geinstalleerd:
sudo apt install python3-pip
Install modules Kivy:
python3 -m pip install "kivy[base]"
python3 -m pip install kivymd
Install Flask module to run the backend script
python3 -m pip install Flask
Start the backend script
python3 Zwerfbond/BACKEND/zwerfbond_app_flask_backend.py
Run the main.py file located in the APP directory:
python3 Zwerfbond/APP/main.py
https://kivy.org/doc/stable/guide/packaging-ios.html
https://github.com/kivy/kivy-ios
- toolchain build python3 kivy
- toolchain build pillow
- toolchain build openssl plyer
- toolchain pip install plyer requests kivymd
- toolchain create Zwerfbond /../Zwerfbond/APP
- Regel de configuratie zoals in onderstaande foto in:
- XCODE:
- Sign the app:
- In Resources - paastocht-info.plist. Write the GPS popup teks; adjust information property list: "Privacy - Location When In Use Usage Description" : Deze app heeft GPS nodig.
- Set Debug - Excluded Architextures - Architectures -Build settings -> Any iOS Simulator SDK - arm64
https://www.youtube.com/watch?v=cuyWeS4CY5o&ab_channel=CodingDebaseNormal
https://github.com/CodingDebaseNormal/BuildAndSign_AAB_Python_Android_App_For_GooglePlay/blob/main/Build_Sign_AAB_PythonAndroidApp_for_GooglePlay.ipynb
- use a VirtualBox running Ubuntu
- install necessary tools: sudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev
- install buildozer: sudo -H pip3 install buildozer
- create a virtual environment: virtualenv zwerfbond_virtualenv -p python3.10
- Activate virtualenvironment: source bin/activate
- install necessary python packages:
python3 -m pip install kivy
python3 -m pip install kivymd
python3 -m pip install cython
- make a AAB_files directory containing the application files
- run: buildozer init
- adjust: buildozer.spec
- run: buildozer android clean (mmh the python-for-android map is not there in the platform directory in .buildozer --> now I have copied this folder from an old project)
- run: buildozer android debug deploy