Hello All, Android has published a new service *VoiceInteractionService* for hotword listner like "OK Google". I have created a service and extended from this VoiceInteractionService . In this service, I have created an object of *AlwaysOnHotwordDetector* and written a callback. As per google developer guideline, I have overrided the onReady method and have created object of AlwaysOnHotwordDetector using *createAlwaysOnHotwordDetector*. But this onReady function never get called. Does anyone provide pointer to solve this issue. I tried to create this object in onCreate \ onStartCommand but the app got crashed.
I have checked the Android VoiceInteractionService source in Android SDK and found there is no message sent to handler which calls the onReady function. It will be really helpfull, if you can provide us the sample usage for this. Thanks and Regards, Amol. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/0a823058-bdc0-454f-b0aa-cc643fc4418e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.