No, AsyncTask has nothing to do with when your process is killed. In both ways -- it can not allow it to be killed, nor can it *prevent* it from being killed (having a Service, Activity, etc running is what lets the system know how important the process is to be kept around, and thus whether it will decide to kill it).
On Sun, Feb 20, 2011 at 7:13 AM, Neilz <[email protected]> wrote: > Ok. I think I may have found one factor influencing this. > > I'm using ASyncTask to handle the thread. I've just been reading some > blogs on this, and it seems it is hard coded to use the lowest > priority, which means it may well be killed off when used on a device > with low memory (like my Hero in this case). > > I think I'll try to implement my task using a different thread > management, and set its priority higher. > > -- > 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 > -- 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

