Very good extension Taifun. I found only an annoying thing (I am just testing and it is not very important in my case): calling SupportedLanguages returns the error " Attempt to invoke virtual method 'java.lang.String android.content.Intent.resolveTypeIfNeeded(android.content.ContentResolver)' on a null object reference Note: You will not see another error reported for 5 seconds." Tested on Android 11.
I now updated the extension and tested it using the companion app on Samsung Galaxy A51 running Android 11
please check again Version 2a downloadable from the download section here https://puravidaapps.com/speechRecognizer.php
thank you
Tested on android 14 and no work
No error messages, but command TaifunSpeechRecognizer1.GotSupportedLanguage not work and app not show language or list item
Did you try the example project downloadable from here?
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
I will check the example project again soon on my Samsung Galaxy A54 running Android 15
EDIT: I can confirm the issue using the companion app as well after building the app... I tested on the test server which already uses target sdk 35... there is no error in logcat... I will investigate...
You are using which device on Android 14?
I asked Gemini if there was any change and below is the answer. I will try to implement it as soon as I find some motivation...
Taifun
A significant change was introduced in Android 13 (API level 33) that affects how you interact with the speech recognizer, including how you check for supported languages.
Previously, many developers would use SpeechRecognizer.isRecognitionAvailable(Context) to check if a speech recognition service was available and then rely on RecognizerIntent.EXTRA_SUPPORTED_LANGUAGES to get a list of supported languages.
However, with the changes in Android 13, the Google app's legacy speech service implementation was removed. Functionality was moved to other apps like "Speech Services by Google" and "Android System Intelligence." The old way of getting supported languages might not work as expected or might return an empty list because of these changes.
The modern, recommended approach is to use the RecognitionSupport API.