Android Callbacks for When a User Exits Your Android App Were you ever working on a feature for your app where you wanted to detect when the user quits your app - either by pressing the back button or the home button? Well then, this article is for you.