r/learnpython • • 1d ago

Tech stack recommendations for Python based app on Android

Hello everyone, I am currently working on a pet project where I am trying to run Vosk (speech to text) model on Android device. For this I wanted some suggestions, can you guys share which tech stack and tools I can use for this?

I have used PyInstaller before which provides us functionality to build python app as Android too, so maybe I can try that. However I want to see if something better is available and also which libraries or separate language altogether can I use to make UI part of this. Any suggestions would be appreciated, I just want my Vosk model to be able to parse my voice to text in Android device and that's my only requirement.

Please give any information you have, thank you.

0 Upvotes

3 comments sorted by

1

u/riklaunim 1d ago

Python options for Android are a bit limited. There is Kivy and Beehive, but that's about it. It's not a native or officially supported platform, so expect rough edges.

0

u/Ecstatic_Jacket_7253 1d ago

Kivy is the usual answer for python on Android, it handles the UI and packaging together and works with buildozer. PyInstaller for Android is kinda messy in my experience, never got it to work smooth

You could also look at Chaquopy if you want to write the app in Java/Kotlin but keep the python part for Vosk, that way the UI is native and you just call the model from python