yverman
yverman

Reputation: 21

Listen to voice command in Android

Is it possible that an android app can listen to voice commands all the time without any other user input?

Upvotes: 2

Views: 1944

Answers (2)

Hamid
Hamid

Reputation: 4440

Speech Input is the API you're looking for, and you would use the API linked below;

http://developer.android.com/resources/articles/speech-input.html

Here, you will find the RecognitionListener interface which you need;

http://developer.android.com/reference/android/speech/package-summary.html

Upvotes: 1

DeRagan
DeRagan

Reputation: 22930

Yes it should be possible Android has a Speech to Text APi in it. Get the user input as speech and convert it into String. Based on your string output you can do operations on your application.

Check this post for getting more info on speech to text API

http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html

Upvotes: 0

Related Questions