On Thu, Oct 7, 2010 at 11:15 AM, Nathan <[email protected]> wrote:

> I'm straying a bit, but what problems do you generally get from task
> killers?
>

These answers apply to pre-2.2; as of 2.2 task killers can't do anything
destructive.


> Will they close a program when not visible? This is the one I've seen.
>

Yes, but the platform will do that as well.  (And this is the only thing
that task killers can do as of 2.2)


> Will they kill a service before it's done, leaving an orphaned
> progress notification, saying 0% forever?
>

Yes.


> Will they corrupt SQLiteDatabase files in the process of killing
> things?
>

No.


> Will they kill a BroadcastReceiver before it is done?
>

Yes.

They will also:

- Remove any notifications you have posted.
- Unregister any alarms you have scheduled.
- Remove any location manager monitoring you have registered.
- Revert to the default wallpaper if you are the current live wallpaper.
- Revert to the default IME if you are the current IME.
- Stop any sync that you have in progress.

And most likely some other things I don't remember right now.

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