Re: [android-developers] Froyo -- How to detect that my application has been killed?

2010-07-30 Thread Jenus Dong
Do you mean how to kill the service when you want to kill the process, that is , the host of service? On Fri, Jul 30, 2010 at 11:15 AM, Dianne Hackborn wrote: > Applications can't kill services with this. They can only kill background > processes, which the OOM killer is free to kill at any time

Re: [android-developers] Froyo -- How to detect that my application has been killed?

2010-07-29 Thread Dianne Hackborn
Applications can't kill services with this. They can only kill background processes, which the OOM killer is free to kill at any time anyway. On Thu, Jul 29, 2010 at 6:37 PM, tomei.ninge...@gmail.com < tomei.ninge...@gmail.com> wrote: > On Froyo, we found that some new "Task Manager" apps are no

[android-developers] Froyo -- How to detect that my application has been killed?

2010-07-29 Thread tomei.ninge...@gmail.com
On Froyo, we found that some new "Task Manager" apps are now using the ActivityManager.killBackgroundProcesses() to kill apps. When this happens, Intent.ACTION_PACKAGE_RESTARTED is no longer fired. How can I find out that my application has been killed? I tried to start a service, and I do see th