Android Question How to kill app2 from my service app1 ?

amorosik

Expert
Licensed User
I need to turn off an app that is currently running and visible on the screen
I would send the command from my service that receives messages via sms or mqtt from a pc
The question is: how to turn off an app currently running in the foreground?
 
Top