Question: Develop an app to document the lifecycle of an activity For each callback events (onCreate(), onStart() ...), record what callback event was triggered in the

 Develop an app to document the lifecycle of an "activity" For

Develop an app to document the lifecycle of an "activity" For each callback events (onCreate(), onStart() ...), record what callback event was triggered in the log(use Log.d): the message that is written to log should be defined in "strings.xml" and getResources.getString() should be used to retrieve the message Implement onSavelnstanceState and onRestorelnstanceState - to track the number of times onSavelnstanceState is being called, in onRestorelnstanceState, print the value to the log file Tag for "Log" statement should also be defined in strings.xml and set using getResources.getString() Perform different actions like rotating the screen orientation, back button, home button, restore this lat app - analyze how your actions impact the activity lifecycle. Submit the following files in a ZIP file (LastName_FirstName_CSCI235Lab2.zip): A text file with "logcat" statements - remember to filter "logcat" statements to just your tag - you can use "logtag" to filter it (one of the video tutorial shows how to filter it) Activity.java Strings.xml

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!