On Mon, Nov 8, 2010 at 3:32 AM, Kumar Bibek <[email protected]> wrote:

> As of now there is no way of preventing that. But, as far as I have heard
> and read, future OS versions would disable this feature wherein 3rd party
> apps can kill other services.


Well you could only run on 2.2 devices, where task killers can't do this.

Also these is a big difference between the process simply being killed
(which both the platform and task killers may freely do) and then the
service being restarted, and the entire service being force stopped (which
users can do with the running services UI, and task killers could do prior
to 2.2).  The former is normal  behavior that a service must expect and
handle correctly.  The latter says the user really does not want your
service running and there is not much you can do about it.

-- 
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

Reply via email to