-2

I'm developing an Android Auto enabled app and I'm asking a question like,

Do you want to navigate?

In my case after ask the question, a voice recogniser must be enabled to get the answer Yes or No.

Is there a way to do this ?

codebot
  • 2,540
  • 3
  • 38
  • 89

1 Answers1

0

Have you looked at Android Speech Recognizer class?

PereCullera
  • 177
  • 2
  • 12
  • yes. I used it. But where do I implement it? What is the method that triggers after the end of the android auto device voice question? – codebot Oct 05 '15 at 08:23
  • You shall implement RecognitionListener http://developer.android.com/intl/es/reference/android/speech/RecognitionListener.html – PereCullera Oct 05 '15 at 08:30
  • I think you must get it on onEndOfSpeech() http://developer.android.com/intl/es/reference/android/speech/RecognitionListener.html#onEndOfSpeech() – PereCullera Oct 05 '15 at 08:48
  • I'm using CarEntender's unread conversation for this. How can I identify the end of this speech(Speech by auto device)? Not the voice recogniser. – codebot Oct 05 '15 at 08:56