Button back counts and button making activate and when press it will open new activity...
I m trying to new things for my app, so is it possible? (I need to show interstitial adds and its for make button wait with counting.)
Method A
- User clicks a button
- Button counting 3. 2. 1. 0
- Button Active!
( and then Click button and open Next/new activity etc..)
Method B
- User opens app / OnCreate starts...
- Button counting 3. 2. 1. 0
- Button Active!
( ... Click button and open Next /new activity etc..)
Which code or method can do this please help. Thanks :)
Please try this code and at the end instead of toast you just pass a intent to next activity and in the second activity do paste this same code it will work better.
//activity_main.xml