[android-developers] OK Google services

2016-08-24 Thread Amol Shinde
Hello,

We are developing an application which includes Google voice 
recognition services. However we don't want to use OK Google word, instead 
if the user directly speaks lets say "set alarm at 11:00AM", it should set 
the alarm.
Is there any API to set the OK Google programmatically ?

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/b2f5efc5-00cf-4bda-97d3-3b0670bc7e89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android voice interaction service

2016-06-16 Thread Amol Shinde
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.