I am looking for code for a button that completely closes my app.
I tried with some stuff from Google, but my app is still running in the background. I need to close
have in mind that:
finish();
method closes current Activity only. If you have multiple Activities opened, you should call finish() per Activity.
Note: Closing Service is different.