I was wondering if I can kill app from other app. I mean I want to create application which when I start this application I will check status other application and if app, which name is for example “Startex” is running then I kill “Startex” app and run my second application.
Share
No you can not. Only
Androidcan kill application if it needs memory. In order to do this you should know thePIDof the application you want to kill and invoke a syscall at kernel level