I already read 2 other analogue questions on Stack Overflow, but none of them with a solution which include this line of code (they just said to delete this line and everything works fine). But in my project is kinda mandatory.
Premise: don't know why but many programmers noticed that with this line of code the speechRecognizer doesn't work properly on Android 12.
speechEngineIntent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS,25000);
Has anyone got a solution or a smart work-around to both: keep this line and make the recognizer work?