androidandroid-intent

Closing an app programmatically from own app


I want to close another app opened from my app with an intent.

On my app, I create an intent to open Google Maps, but I want to close this Google Maps with a button on my app.

Is that possible?


Solution

  • It is not possible to close the another app from your app.

    It is ethically not correct and there is no official Android API as well.