I have an Android app that uses Speech Recognition in Activity. The GUI does nothing but contain speech recognition objects. I would like to transfer this to the service so that I can talk to the application when it is running in the background.
However, as far as I know, the speech recognition service should use onActivityResult, inaccessible to Services. Is there a way to either contain an action in the service so that its graphical interface does not appear, or perform speech recognition in the service instead of activity?
android speech-recognition speech-to-text
Zach rattner
source share