Call RecognizerIntent from service
I am working on an Android service. I need to call RecognizerIntent from a service in order to use in the service the recognized text. I have no startActivityFor开发者_如何学CResult() method in Service class so I have problem understanding how to achieve this task. Is it possible?
Many thanks
No, I do not believe it is possible. After all, there is no UI from a service, and the RecognizerIntent
needs a UI in order to function.
精彩评论