Computer Science, asked by brgd176, 1 month ago

how to we know the app is closed using android studio programmatically​

Answers

Answered by karishmachaurasiya26
1

Answer:

The "onActivityDestroyed" will get called when the app is closed, so if you can check if the app is in background when it is called (so the app is already closed) you can grep exactly the moment when the app is being closed.

Similar questions