In Android----How can we provide hint which word is speaking in Text to Speech?
问题 Any body help me to Provide hint in Text to Speech? I get word in Array but TextToSpeech.QUEUE_ADD takes a few seconds to speak and makes bold word run speedily. My Code is below :-(tts is a TextToSpeech object) String[] strArr = txtText.getText().toString().split(" "); txtText.setText(""); for(int i=0;i<strArr.length;i++) { Log.d("","Value :- "+strArr[i]); HashMap<String, String> myHashAlarm = new HashMap<String, String>(); myHashAlarm.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf