Hello all I am working with ok google voice search.
What i want to do is when user say some keyword like "Hello".
To the home screen ok google. then ,I want the ok google callback in my application.
For example: If I say "Hello" to the ok google voice search as shown below.Then I want the "Hello" word to print in my application textView.
Please help if possible,any answer should be appreciated. Thank you
I think the solution for your problem is here: https://android-developers.googleblog.com/2014/10/the-fastest-route-between-voice-search.html You can access the query by getting the String extra with the key
SearchManager.QUERY