Lets begin..
1. Create a new project.
2.drag three TextView and three Button. TextView 1 is for second
TextView 2 is for minute
TextView 3 is for hour
Button 1 is for start
Button 2 is for pause
Button 3 is for Reset
3. Add timer component and named it timer.
4. Now add onResume function and in onResume function create three variables second, minute and hour.
5.Add the following blocks into onResume function.
6.Now for Button start add the following blocks.
7.For button pause add the following blocks.
8.For button reset add the following blocks.
9.Run the app and see the result.








Hi
ReplyDelete