I have app which have running offline voice recognition service listening for one keyword. If keyword is spoken is triggered google speech recognition service which displays image like this and return text of spoken sentence.
I would like to know two things:
How to make app processing Google speech to text if app is not in foreground or screen is locked?
How to avoid "Speak Now" Dialog? (I would like to use some custom UI component)
Thanks for any advice.