Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start Android keyboard in voice recognition mode

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?

like image 511
Patrick Avatar asked Oct 24 '13 15:10

Patrick


People also ask

How do I make Google voice my default typing on Android?

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.


1 Answers

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

like image 58
brandall Avatar answered Nov 14 '22 22:11

brandall