Voice Input Method
In my fork https://github.com/woheller69/whisper_android I did some work on this project.
I am using whisper small for multi-lingual as tiny is just not good enough in this case. I modified the UI and I implemented an InputMethodService which makes the voice input available for all other apps. E.g. from HeliBoard keyboard it can be activated via the microphone button in the toolbar. Once activated press and hold the microphone button while speaking. Afterwards it automatically transcribes the input. Press the keyboard button to get back to the normal keyboard.
In order to keep the app small the models are downloaded from Hugging Face. This is the only use of the internet permission in this app.
Maybe you want to use parts of my code.
whisperIME is on F-Droid
https://github.com/woheller69/whisperIME