I'm wondering if someone could point me in the right direction on this. I'm trying to create an app that runs in the background listening for a command/phrase. Like the way "OK Google" works or like the "Hi Galaxy" feature on the Samsung devices. Is there a way that I can have a background service listen for a custom phrase like these do and then run some code once it hears the phrase?
Last edited: