Reputation: 6923
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 startActivityForResult() method in Service class so I have problem understanding how to achieve this task. Is it possible?
Many thanks
Upvotes: 1
Views: 946
Reputation: 1007659
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.
Upvotes: 1