I am working on a vocabulary app where there would be TTS in most of the activities. I am implementing TTS as illustrated in http://www.androidhive.info/2012/01/android-text-to-speech-tutorial/
However, I discover and is quite certain that setting TTS in OnCreate
causing the app opening the Activity with TTS terribly slow. (tested by running same activity with and without TTS)
// setup TTS part 1.1
mTts = new TextToSpeech(ActivityA.this, this); // TextToSpeech.OnInitListener
Question:
How can the process be faster? Loading the TTS at background? Yet once opened the layout of ActivityA, it must need to immediately speak / pronounce the vocabulary.