I’ve a countdown timer. In the end of 60 secs I started a new activity. It works fine. But if I press home button or back button before the countdown timer ends, after that particular time the activity starts automatically even if I’m in home screen. I finished the activity using this.finish(); But still doesn’t work. Please provide me a solution.
Share
You can override the OnPause event of the activity. When the activity is sent to back, finish it.