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, 6 months ago by
Piotr.
-
AuthorPosts
-
September 30, 2020 at 12:51 pm #2273
amgame
ParticipantI 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 #2274Piotr
KeymasterIt 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 #2277amgame
ParticipantYes 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 #2278amgame
ParticipantHi,
Any pointers on how to fix this?October 2, 2020 at 4:30 pm #2280Piotr
KeymasterAndroid is sometimes so buggy :facepalm:
Will look into this in next 1-2 days and update here.October 3, 2020 at 2:32 pm #2281Piotr
KeymasterOctober 4, 2020 at 9:09 am #2288amgame
ParticipantIts working now with the new jar file. Thank you for the quick response.
October 4, 2020 at 6:11 pm #2291Piotr
KeymasterThanks for checking it out!
-
AuthorPosts
- You must be logged in to reply to this topic.