This demo expands on the vosk-android-demo to create a (even minimally) usable offline speech recognition IME. See https://github.com/alphacep/vosk-android-demo/issues/126
Check the releases for pre-built binaries.