10
Which is the good place to ask user, whether (s)he wants to exit the app when (s)he clicked the back button? I considered the onPause and onStop, but these methods fires whenever app is gone behind the other apps.
Update: The app should also ask if user is trying to exit the app from a button (in app itself), not the Back hard key.