Help ! Text to speech and speech to text Api(s)

I am having troubles creating text messaging app. What i want is that my app read sms when asked. also convert the speech into text for sending sms.

Welcome, mjyas.

It would be helpful, if you could post some of the code you have, as well as more detail for how you want to achieve this. People on this forum are very helpful, but the more information the better.

Hello. Im glad you replied. I have posted the code and a picture with a brief description of what help I’m asking for. Can you please look into it?. It would really be helpful. Thanks.
Here is the link.