Welcome! › Forums › Unity Plugins › Mobile Speech Recognizer › Supported Language List
Tagged: Language List, SupportedLanguages
- This topic has 7 replies, 2 voices, and was last updated 4 years, 2 months ago by Piotr.
-
AuthorPosts
-
September 30, 2020 at 12:51 pm #2273amgameParticipant
I just imported the example project and the speech recognition is working on Android. however in the SetLanguage screen the dropdown is not getting populated with the supported language list.
Is there any steps that needs to be done first to load the supported language list?September 30, 2020 at 6:35 pm #2274PiotrKeymasterIt should work out of the box. Can you see adb logs from a device? Probably
GetSupportedLanguages
throwing some errors.October 1, 2020 at 9:53 am #2277amgameParticipantYes logcat showing the following error
10-01 15:20:37.055: E/Unity(14818): java.lang.NullPointerException: Attempt to invoke virtual method ‘int android.content.IntentFilter.getPriority()’ on a null object reference
10-01 15:20:37.055: E/Unity(14818): at kokosoft.unity.speechrecognition.SpeechRecognizerBridge$4.compare(SpeechRecognizerBridge.java:150)
10-01 15:20:37.055: E/Unity(14818): at kokosoft.unity.speechrecognition.SpeechRecognizerBridge$4.compare(SpeechRecognizerBridge.java:147)
10-01 15:20:37.055: E/Unity(14818): at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
10-01 15:20:37.055: E/Unity(14818): at java.util.TimSort.sort(TimSort.java:220)
10-01 15:20:37.055: E/Unity(14818): at java.util.Arrays.sort(Arrays.java:1492)
10-01 15:20:37.055: E/Unity(14818): at java.util.ArrayList.sort(ArrayList.java:1470)
10-01 15:20:37.055: E/Unity(14818): at java.util.Collections.sort(Collections.java:206)
10-01 15:20:37.055: E/Unity(14818): at kokosoft.unity.speechrecognition.SpeechRecognizerBridge.sendImplicitOrderedBroadcast(SpeechRecognizerBridge.java:147)
10-01 15:20:37.055: E/Unity(14818): at kokosoft.unity.speechrecognition.SpeechRecognizerBridge.GetSupportedLanguages(SpeechRecognizerBridge.java:120)
10-01 15:20:37.055: E/Unity(14818): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
10-01 15:20:37.055: E/Unity(14818): at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
10-01 15:20:37.055: E/Unity(14818): at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
10-01 15:20:37.055: E/Unity(14818): at android.os.Handler.dispatchMessage(Handler.java:103)
10-01 15:20:37.055: E/Unity(14818): at android.os.Looper.loop(Looper.java:237)
10-01 15:20:37.055: E/Unity(14818): at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)October 2, 2020 at 3:40 am #2278amgameParticipantHi,
Any pointers on how to fix this?October 2, 2020 at 4:30 pm #2280PiotrKeymasterAndroid is sometimes so buggy :facepalm:
Will look into this in next 1-2 days and update here.October 3, 2020 at 2:32 pm #2281PiotrKeymasterOctober 4, 2020 at 9:09 am #2288amgameParticipantIts working now with the new jar file. Thank you for the quick response.
October 4, 2020 at 6:11 pm #2291PiotrKeymasterThanks for checking it out!
-
AuthorPosts
- You must be logged in to reply to this topic.