I found it was hard to get the text to speech and voice recognition = more all into one activity (needed too many calls) so I put voice recognition into its own activity and pass intent messages between the two. Its a bit clunky but works.
The other problem is detecting when the text to speech is in action, did not work as it was supposed to - ended up using a timer. OK, just relaying my experiences..... Bruce Xia wrote: > hi, > I'm developing an app which needs some IVR funtionality -- play a > prompt, wait for user to respond, do an action, and loop... > > Do I have to call "SpeechRecognizer.startListening(new > Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH));" every time after I > play the prompt? Is there a better way? > > Thanks, > Bruce -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

