Android speech - how can you read text in Android?

后端 未结 5 1582
一生所求
一生所求 2021-01-07 05:09

How can you read data, i.e. convert simple text strings to voice (speech) in Android?

Is there an API where I can do something like this:

TextToVoice         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-07 05:43

    A good working example of tts usage can be found in the "Pro Android 2 book". Have a look at their source code for chapter 15.

提交回复
热议问题