Hi Amol,

Looks like this is a trusted command and needs enrollment for it to work.

Let me know if you have found a workaround

Thanks,
--Gyan

On Thu, Jun 16, 2016 at 5:23 AM, Amol Shinde <amolshind...@gmail.com> wrote:

> 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
> <https://groups.google.com/d/msgid/android-developers/0a823058-bdc0-454f-b0aa-cc643fc4418e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAD_gBas8N6GekX8%3Dxgk5%2BkZ60Q8dZ72ZS7M4tLf4DU1gVbsg7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to