M
M
Michaelxn2016-03-16 06:34:13
Android
Michaelxn, 2016-03-16 06:34:13

How to close the application so that it does not appear in the list of running ones?

How to close the application so that it does not remain in the list of running applications (which is called by the button in the navigation bar (square))? The application is now closed with the finish function. What to prescribe so that the application is killed completely and is not considered running?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Copperfield, 2016-03-16
@Mihailxn

<activity android:name=".MainActivity"
        android:excludeFromRecents="true" ...

R
Roman Artemov, 2016-03-16
@roman_art

Why do you need to kill the application? The system itself will do this for you, at the moment when it runs out of memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question