In the Flite Engine plugin I am writing, one of my goals is to
simplify distribution of new voices. Here is what I currently do:
In CheckVoiceData, I connect to a certain web location to download the
list of available (or deprecated) voices.
That list is used to make decisions about which voices are available
(installed) or to-be-installed in the DownloadVoiceData activity.
Right now, in some situations, (such as weak wifi/2g connectivity)
launching TTS settings leads to Flite's CheckVoiceData waiting on
trying to download that file, resulting in a frozen application.
What might be a good way to fix this issue? How do I allow the voice
list to be synced with a server without assuming a good connection
active?
I currently don't have a timeout set for URLConnection, and i'll set
it some reasonable value.. But I guess there must be a better way to
do this.. :-?
- Alok
--
You received this message because you are subscribed to the Google Groups "TTS-for-Android" group.
To post to this group, send email to tts-for...@googlegroups.com.
To unsubscribe from this group, send email to tts-for-andro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tts-for-android?hl=en.