the code is "exactly" the Voice Command sample! after recognize command, the code stop listening, so execute app.TextToSpeech, then (into TextToSpeech call) restart recognizing (call Listen routine at the end of speech)...
testing sample app:
1. device tell me first intro sentence (ok)
2. I tell "Computer" or "What time is it" or "How are you" or ...
3. device say me right response - and restart recognizing (ok)
[loop]
4. I tell "Computer" or "What time is it" or "How are you" or ...
5. device say me nothing (wrong!) - but recognizing restart (ok! so problem is into TextToSpeech?)
(I added a app.ShowPopup into every case to show me if command is recognized... and every of it is!)
6. I tell "Computer" or "What time is it" or "How are you" or ...
7. device say me nothing (wrong!) - but recognizing restart (ok! so problem is into TextToSpeech?)
[/loop]
8. I tell "exit"
9. app terminate correctly (ok)
I go blind...