I am trying to implement text to speech technology of android in my Activity but I face a strange error. I can\'t hear any sound, from my code. The speak method works only i
Well another cause of this problem could be your TTS engine, Sometimes in SAMSUNG phones the default TTS engine is SAMSUNG Engine which doesn't work on some languages like persian (I don't mean for persian text, Even if you're trying to read an english text, it still doesn't work, it's strange but It happens).
In order to solve it all you have to do is to set the TTS engine on your code (or select Setting -> Language input -> Text to speech -> Google Text-to-speech
manually)