So I have a question of how to open the keyboard that shows when the user clicks in an EditText.
I already found a way to open the speech recognizer using:
val intent = Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH)
intent.putExtra(
RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM
)
startActivityForResult(intent, SPEECH_REQUEST_CODE)
But now I want to open the simple keyboard.
Already tried to create a working using a simple EditText and call requestFocus()
performClick()
to show the keyboard but without success.