Professional Documents
Culture Documents
1 - Lab 4 - Evangelist Muserudzwa 194203800115 Lab 1 Android
1 - Lab 4 - Evangelist Muserudzwa 194203800115 Lab 1 Android
1 - Lab 4 - Evangelist Muserudzwa 194203800115 Lab 1 Android
Purpose 3… timing
Experiment…
1. Button -> onClick -> method
2. Runtime() method
Purpose 4… stopwatch testing
Experiment…
1. OnCreate() method
2. The user starts the app, and click on the start button to start the
stopwatch
3. The user rotates the device.
Android view this as a configuration change and get ready to destroy the
activity. Before the activity is destroyed the onSaveInstanceState() get
called
Purpose 6… Start and stop
Experiment…
1. onStop() method runs when the activity stops being visible to user
2. onStart () method runs when the activity is about to become visible.
Purpose 7… Pause and resume
Experiment…
1. onPause()
2. onResume()
Problems and solutions(list the problems you have solved but also
unsolved):
5. Problem1…
solution
Problem2…
solution…
Conclusion(Learning experience):
1.its a little hard since its my first time but I hope to improve as I go
feather with studing.
2.