0

I have nexus 6p and running android N developer preview. I have 3 GB of RAM and most of the RAM is in used like 2.2 GB. Is there any way to force stop other Apps programatically ? Let's say there is a package called "com.whatsapp". Can I force stop by package name ? I have googled this and gone through couple of threads but I couldn't find for my device. Any help would be appreciated.

Thank You!

John JD
  • 3
  • 1

1 Answers1

1

You can only kill a process that has the same userID as the one that is doing the killing. If you are trying to kill your own process it should work. Otherwise you can't do it (unless you have a rooted device and your application has root priviledges).

See Kill another application on Android?

Community
  • 1
  • 1
Yangfan
  • 1,866
  • 1
  • 11
  • 13