Its not necessary that it is technical coding problem only. I suggest you to check your mic volume in your phone. I believe your mobile is in silent mode when you are executing the application.
If your phone is in silent mode then it will not at all to execute TTS API, unless you set your mic volume programmatically.