I'm write an auto-speaker app which has a service inside, and listen to the phone state change.
I expect that the service should be exist all the time and can't be killed.
However, I found that if I use some task killer to kill my app, there will be few seconds my listener won't work.
Although my app seems to be restart automatically in few seconds later and work again.
Why the service could still be killed by task killer??
Is a service just like an activity, just with no UI, and able to restart automatically?
Thanks for your answer.