In my Android app, I create a child process with Runtime.getRuntime().exec() .
But there may be a situation where the user kills my application, but the child process is still running. I want, when I kill the application, also kill the child process. How can i do this?
source share