python_on_android.txt           2025-02-28

Python frameworks available on Android:
======================================
1. Qt for android:  remaining artefacts on stacked images
                    unable to use on-screen keyboard and BT keybord for TextEdit
2. Kivy:            Kivi-launcher not for newer android versions
                    *.apk does not open
3. PyDroid3:        No shortcut
4. Termux:          too complex to deploy
5. QPython:         promising


Using the desktop Android development
=====================================
1. USB connection Android = Desktop(Linux, Mac, Windows)
2. Allow access phone data
   Allow USB debugging
   for simultanious ScrCpy and file transfer
3. Start ScrCpy
5. GUI mount: Samsung_Android USB disk
   open manager
   open Samsung_Android disk or similar
   open Internal storage


Use QPython for a console app
=============================
1. optional:
   uninstall QPython & reboot
2. Play store
   Install: QPython - Learn Python & AI
3. open QPython
   accept | OK
4. create directory: Internal storage/Download/QPython
5. Main icon | qsl4a_grant_user.py
   Use this folder | Allow
6. reboot
7. copy pythagoras.py or simular to:
       Internal storage/Android/data/org.qpython.qpy/files/projects3/pythagoras/main.py
8. test:
   main Icon | pythagoras
9. Desktop shortcut: main Icon & long press pythagoras
   Create Shortcut | Confirm | Add
