killBackgroundProcesses works (you need a permission for it), but it
merely restarts the background services, so it's a little poorly
named.

Lee

On Jun 1, 4:26 pm, Mats <[email protected]> wrote:
> Hi,
>
> I have an app killing feature in one of my apps but up to API 7 i
> always worked with restartPackage(String PackageName); but since API 8
> its deprecated so I tried killBackgroundProcesses(String PackageName)
> but that didn't work either.
>
> I hope someone can help me.

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