sandy
sandy

Reputation: 3351

close any running application through another application programatically

Can we close any other applicaton running in background from our application. Want functionality just similar to Task manager. Is it possible? Any hint. Thanx in advance

Upvotes: 0

Views: 199

Answers (1)

user784540
user784540

Reputation:

"Victim" application should implement GlobalEventListener, and "killer" application should send a global event for the "victim" application. When "victim" app receives the specific event it closes.

If you want to close not your application, there is no way to do that. It just does not know that you want to close it.

Upvotes: 1

Related Questions