TextToSpeech tts;
tts = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {@Override
public void onInit(int status) {
if (status != TextToSpeech.ERROR) {
tts.
setLanguage(Locale.
KOREAN);
}
}
});
tts.speak(read, TextToSpeech.QUEUE_FLUSH, null);
댓글 없음:
댓글 쓰기