Reputation: 309
I am coding a smart assistant and one of the exclusive features is that it listens to you all the time. Is there a way to make Speech to Text active at all times?
Thank you.
Upvotes: 2
Views: 722
Reputation: 885
Your questions + responses seem a bit confused...
"A foreground service is a service that's considered to be something the user is actively aware of and thus not a candidate for the system to kill when low on memory."
http://developer.android.com/guide/components/services.html
Otherwise, the answer is no. Android can at anytime it needs the resources stop executing the code for another process. See above link for further clarification.
Upvotes: 1