joe dacoolguy
joe dacoolguy

Reputation: 309

How to use google voice recognition system the whole time in an app?

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

Answers (1)

Justin
Justin

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

Related Questions