I have an app that can start other apps.
This works, I can do that.
Now, I would like to also kill the apps started by my app.
But I can't find a way to do that (My app doesn't have system permissions).
I have tried to list all currently running processes in order to get their PID and to kill with it, but I can only get the PID of my app.
I have tried to kill the background process (I know the package name of the app) but it doesn't work.
So, is there a way to kill other apps with my app, without haveing system permissions?