Speech recognition. How to capitalize First word in Text Box in MIT Ap Inventor?

76 views
Skip to first unread message

jkai...@mchsi.com

unread,
Dec 1, 2015, 12:28:19 AM12/1/15
to MIT App Inventor Forum
How do I get the first word in the Text Box to be capitalized when I hit microphone on the keyboard in App Inventor 2? Thanks in advance.

SteveJG

unread,
Dec 1, 2015, 8:30:50 AM12/1/15
to MIT App Inventor Forum
Capitalizing the first word in a text box by touching the microphone on the keyboard is probably not possible with App Inventor.    You could use the purple Text block called upcase to force the first letter after the text from the recognizer has appeared.   Usually the first letter from the SR is automatically capitalized although that does not always happen.

According to Google, these are the kinds of things that can be done with the Speech Recognizer API  http://developer.android.com/reference/android/speech/SpeechRecognizer.html    .  What you want to do is not among them.

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages