I am trying to program an assistant like Siri Alexa etc. I want to activate the app while I say “ok Toby” or something like that. I am using Java Android. How do I do this?
Check their Developers website and figure out how to create custom commands for your android application. And since its android Google provides a pretty good information about its assistant and custom calls. You might want to check this: