Kill an app / package in API 8 (Froyo)

Posted by user355651 on Stack Overflow See other posts from Stack Overflow or by user355651
Published on 2010-06-01T16:50:33Z Indexed on 2010/06/01 16:53 UTC
Read the original article Hit count: 193

Filed under:

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.

Both are methods are in the ActivityManager class

I hope someone can help me.

© Stack Overflow or respective owner

Related posts about android