T thewavemaster Member Licensed User Longtime User Oct 26, 2012 #1 I played around with the VoiceRecigntion by TTS. It work wunderfull when i called the function out of the main activity. But as soon as I out the function in a service module and call it out from the service module....nothing happens... Is there a workaround for voice recognition via service module?
I played around with the VoiceRecigntion by TTS. It work wunderfull when i called the function out of the main activity. But as soon as I out the function in a service module and call it out from the service module....nothing happens... Is there a workaround for voice recognition via service module?
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2012 #2 You will need to call it from an activity. You can use CallSubDelayed to call an activity that will then call VoiceRecognition.Listen. Upvote 0
You will need to call it from an activity. You can use CallSubDelayed to call an activity that will then call VoiceRecognition.Listen.
T thewavemaster Member Licensed User Longtime User Oct 26, 2012 #3 ok thanks! is there a possibility to interact between tts and vr? Like: TTS: "If you want to answer, say: YES" then VR.Listen... If answer of vr = "yes" then... Last edited: Oct 26, 2012 Upvote 0
ok thanks! is there a possibility to interact between tts and vr? Like: TTS: "If you want to answer, say: YES" then VR.Listen... If answer of vr = "yes" then...
Erel B4X founder Staff member Licensed User Longtime User Oct 27, 2012 #4 Yes. However the interaction should be implemented in the events code. Upvote 0
T thewavemaster Member Licensed User Longtime User Oct 27, 2012 #5 Can you give me a example? I dont understand what u mean Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 27, 2012 #6 You should handle VoiceRecognition event and then check whether the result is yes or no. Upvote 0