Re: [android-developers] Text To Speech from a service
On Sat, Jul 30, 2011 at 7:50 AM, byron <b.llerena@hotmail.com> wrote:
> Hello im devoliping this app where I initialize the TextToSpeech tool
> from a service after Boot Completed, and I keep it running, but when i
> try to use it from one of my activities by instatiating it comes the
> error. Does anybody have any suggestion?
Don't do this. Text to speech is already a service, just initialize the
TextToSpeech object in your activity and shutdown() when finished.
It will connect/disconnect to the service as needed.
And yes, without at least a stack trace nobody can really help you.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home