It might be too easy but I don't know how. I keep pressing the return button on my application - inadvertently - too many times and exit the application. I know it is no big a deal but I would like to get a warning just before I exit. Is there code to flag that I am exiting the last activity? One solution is to start with a Splash screen - which might be a good idea but I would like to avoid the trouble.