0

So I'm building an application on my phone that will let it do commands based on what I say but the problem is that you always will have to startup the application or press A button in the application.

So is there a way it will keep listening or maybe if I say a command word it will startup automaticly without me having to do something?

stevedc
  • 483
  • 3
  • 8
  • 26

1 Answers1

0

You can create a service that listens for speech. A service code can be found at Android Speech Recognition as a service on Android 4.1 & 4.2

Community
  • 1
  • 1
Hoan Nguyen
  • 18,033
  • 3
  • 50
  • 54