@RMS2 the answer that you suggested.. will that provide back functionality? I also faced similar problem so instead of overriding onpause and on resume, I have overriden onUserLeaveHint() method. In this way my application knows when user is pressing home button and finish the activity.