views:

15

answers:

0

Ok so I've implemented the TextToSpeech integration to the T mentioned in: http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html but now it's messing with my other intents.

For example: 1. user starts app 2. user invokes load activity 3. user picks a file to load, and activity returns fileanme to load in the intent 4. main activity starts, and realizes it needs to load a filename so it starts doing so 5. but the check for TTS needs to be done and so I launch the ACTION_CHECK_TTS_DATA intent 6. this pauses the main activity again and the loading process gets interrupted 7. then when the TTS check comes back, the loading never happened.

Question -> when do i need to do this TTS check? can i just doing it once on app startup? it's also causing my app to load slowly... i wish this could be threaded some way :(

Thanks in advance for the insight, swine