I have a set of some messages which should be speaked by android app. I could use something like Svox, but I don't need to read user input.

I was thinking about using prerecorded words and putting them together myself - could you please show me some way how to do it properly?

有帮助吗?

解决方案

Android has a built in feature for Text To Speech since API level 4.

Go through this tutorial for a step by step guide.

其他提示

clone this git project

Its a well architected example for recognizing spoken commands in ( english/estonian )

If you like the approach, there is a lib project to use as a service

If you can take the time to follow opensource, this approach to implementing recognized commands is quite good.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top