开发者

Voice recognition APIs, will Google Voice do this?

开发者 https://www.devze.com 2023-02-09 16:52 出处:网络
I\'ve got an idea for an android app, I want to be able to say commands and have the application listen out for these and perform some action.

I've got an idea for an android app, I want to be able to say commands and have the application listen out for these and perform some action.

For example, I want my app to sit idle and listen for my voice, when it hears me say "start", the app will start doing som开发者_JS百科ething until I say "stop".

The idea is to lay the phone down and not have to physically touch it in order to control my app.

Would this be possible with any current APIs? If so which ones should I look into?


You can take a look at the Google voice commands.

http://www.google.com/mobile/voice-actions/

Alternatively, if you want to customise your application, you can use the google voice service and write an activity that will invoke the voice service and return you the result. Check out the below link for the sample application.

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号