-5

I'm currently working an app that can able to read the text (i.e the text shoud play as a sound) which i given in a txt file. Is it possible in android ?

Mr.Me
  • 9,192
  • 5
  • 39
  • 51

2 Answers2

1

In android there is a dedicated API for TextToSpeech (TTS in short) functionality. You can easily use it to play text from a file or on the fly.

Here is the documentations page : TextToSpeech

Also checkout this tutorial for an example : TTS Tutorial

Mr.Me
  • 9,192
  • 5
  • 39
  • 51
0

Yes, just use the built-in Text-to-Speech (TTS) package (more details here).

Dan Dyer
  • 53,737
  • 19
  • 129
  • 165