I would like to open the keyboard programmatically and have it start doing voice recognition instantly without the user pressing the mic button. I know how to implement SpeechRecognizer - that is not what I'm looking for. I want to start the keyboard VR and text go straight to an editview. Is this possible?
Setting up Google voice typingTap the Settings icon, Under 'Personal' tap 'Language and input', Google voice typing should be set up as on (or Automatic) as default and will appear as a microphone icon on the on-screen Google's on-screen keyboard.
Unfortunately this is not possible, but it very much should be.
I went searching for a way to do this when I needed to use offline speech recognition as a 'hack' - but I couldn't achieve it.
I can only suggest you submit an AOSP enhancement request regarding InputType. The following addition would be helpful:
android:inputType="voice"
If you place a link to it back here, I'm sure many would star it.
EDIT - I finally got around to doing it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With