How to know if my app has been launched by Ok Google for a fully hands-free interaction

94 Views Asked by At

I would like to know when my app has been launched by voice control ("Ok Google, launch MyApp") in order to present the users a different activity where they can interact using their voice.

The idea is "if the user launches the app using the Ok Google command, he probably wants a hands-free interaction".

Is there a way to know it? Intent categories and flags don't seem helpful.

0

There are 0 best solutions below