Any one help me for Provide hint in Text to Speech?
My aim is to provide hint which word is reading by devices.
Text to Speech My code is below :-
TextToSpeech tts = new TextToSpeech(this,this);
if (txtText.getText().toString().length() == 0)
tts.speak("You haven't typed text", TextToSpeech.QUEUE_FLUSH, null);
else
tts.speak(txtText.getText().toString(), TextToSpeech.QUEUE_FLUSH,null);
Thanks.