Hi, Dianne Thanks your reply. But to how to handle this case. I write a task manager app to manager current running apps on the phone. When I try to direclty kill the music apps process with service playback on background, every time after a while the music service will restart. This is very bored. Once service is started, we can't kill the service except the service stop self.
And Even service stop self, the corresponding process still run. If manually kill it, the service restart again. Personlly I think service should have a property for force restart. What's your opinion? On Apr 22, 4:37 pm, Dianne Hackborn <[email protected]> wrote: > No, but you can call stopService() at any time to tell the system you don't > want it running any more. Well, if it is running because a client has bound > to it and asked this to have it run, then it will be restarted until all > such clients have unbound. > > On Wed, Apr 22, 2009 at 12:45 AM, Eckel <[email protected]> wrote: > > > Hi, > > > Is there any way not to force to restart the service once the service > > crash and is killed? > > > Thanks in advance. > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

