When user click on the button (button is home activity) he will intent to game activity in 30 sec to 1 min user may win or lose and come back to home activity and then button must get disabled for 3 min (with time countdown showing) after 3 min button gets enable again and process repeat.
Please help me, It is the last part of my college project.
Wish you a Good Day!
As far I understood your question. Correct me if I am wrong.
The app launches Home activity (button enabled)-> button click of Home Activity -> open game Activity -> when you come back from game activity -> home activity button should be disabled for 3 min (button disabled).
so you want the home activity button should be disabled when are you coming back from the Game activity right? If yes