Trinh Cong Minh
Lurker
Hi, i am looking for a way to create an app which will run on the background, and when i press both volume down and volume up button it will kill all the app that currently running (some of them).
I nailed the event click both volume button and background service but i dont know how i can kill another app thats not from my app's activity.
I would prefer non-rooting required but if its not possible, rooting is fine since the purpose of this project is mainly education.
Thank you for reading.
Edit: I am not looking for a block of code, just some keywords or solutions. Sure some code example would be nice.
I nailed the event click both volume button and background service but i dont know how i can kill another app thats not from my app's activity.
I would prefer non-rooting required but if its not possible, rooting is fine since the purpose of this project is mainly education.
Thank you for reading.
Edit: I am not looking for a block of code, just some keywords or solutions. Sure some code example would be nice.