I get the error

ActivityManager(): Timeout executing service

When the phone goes to sleep with a service running in the
background.  The service goes into wait() because it uses text-to-
speech, and it awakes to push the next sentence.

If the Activity that controls the service is in the forground, (with
SET_PROCESS_FORGROUND enabled), the service will do its job as
expected.  But if the service is left by itself running in the
background, it will be kicked out of the phone.  Once it crashes it is
brought back in, but it cannot recover after that.

I was using WAKE_LOCK when the whole application was an Activity, but
now that it is a Service and an Activity, WAKE_LOCK does not seem to
work if used from the Service.

Any help is appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to