Text to Speech in Android

Full source code to use the text to speech API in Android. We will set up ab OnInitListener, override the onInit method, set our desired language and take care of any Exceptions. We will also adjust the pitch and speed of the spoken text using SeekBars activity_main.xml MainActivity.java