Android Question Text to Speech from a text file

TonyVerberne

Member
Licensed User
Longtime User
I wish to add TTS to an app I have built. I wish to read the text from a text file. Does anyone have any suggestions as to how I can do this? Erel's example uses an EditText view that requires the user to input text which works well but does suit my app.
 

DonManfred

Expert
Licensed User
Longtime User
xou can use a hidden editfield, fill the text from the file in the hidden edit and then run the tts engine with this text.
 
Upvote 0
Top