Beja Expert Licensed User Longtime User Sep 6, 2014 #1 Hi all, A little problem that I couldn't solve: In the TTS example, the reco is returned as list.. is it possible that it can be a single line of string? This is code: Sub VR_Result (Success As Boolean, Texts As List) If Success = True Then ToastMessageShow(Texts.Get(0), True) TTS1.Speak(Texts.Get(0), True) End If Activity.LoadLayout("1") End Sub Thanks in advance Note: My App will send a few words command (1 to 3 words only)
Hi all, A little problem that I couldn't solve: In the TTS example, the reco is returned as list.. is it possible that it can be a single line of string? This is code: Sub VR_Result (Success As Boolean, Texts As List) If Success = True Then ToastMessageShow(Texts.Get(0), True) TTS1.Speak(Texts.Get(0), True) End If Activity.LoadLayout("1") End Sub Thanks in advance Note: My App will send a few words command (1 to 3 words only)
Beja Expert Licensed User Longtime User Sep 6, 2014 #2 Thanks guys, it is solved! Sub VR_Result (Success As Boolean, Texts As List) If Success = True Then Dim xxx As String xxx = Texts.Get(0) Msgbox(xxx,"") TTS1.Speak(xxx,True) 'ToastMessageShow(Texts.Get(0), True) 'TTS1.Speak(Texts.Get(0), True) End If Upvote 0
Thanks guys, it is solved! Sub VR_Result (Success As Boolean, Texts As List) If Success = True Then Dim xxx As String xxx = Texts.Get(0) Msgbox(xxx,"") TTS1.Speak(xxx,True) 'ToastMessageShow(Texts.Get(0), True) 'TTS1.Speak(Texts.Get(0), True) End If
DonManfred Expert Licensed User Longtime User Sep 6, 2014 #3 You are not new here, @Beja and you should know that you should use code-tags to get the code easier readable Upvote 0
You are not new here, @Beja and you should know that you should use code-tags to get the code easier readable