Hi All,

I have this super old application called Say Time that I have been working 
on updating to bring it up to date. So I set my Target API to Android 4.3 
(18) and the application basically stopped working reliably. Here's what 
seems to be happening.

I have a Service which creates a TextToSpeech instance, and waits for the 
onInit(), and then waits for intents to be sent to it and tells the time. 
Since setting my target API, the onInit() sometimes either takes 30 seconds 
to a minute to fire. Sometimes it never fires at all. The testing devices I 
am using are both Android 4.3 devices (Nexus 7 2013, and Nexus 4).

If I create an Activity and initialize the TextToSpeech inside it, the 
onInit is called back very quickly and reliably.

I really can't understand what the difference is. I did remove some wake 
lock acquisition code from the service, but I can't imagine why holding a 
wake lock would affect obtaining a TextToSpeech service connection. Any 
ideas?

Thanks in Advance,

Neal

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to