Trebles_tresslet_masculinizing

docx

School

Northern Virginia Community College *

*We aren’t endorsed by this school

Course

45AW

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by DoctorSnakePerson1077

Report
Question: Enumerate the three key loops when monitoring an activity Answer: Entire lifetime – activity happens between onCreate and onDestroy, Visible lifetime – activity happens between onStart and onStop, Foreground lifetime – activity happens between onResume and onPause Question: When dealing with multiple resources, which one takes precedence? Answer: Assuming that all of these multiple resources are able to match the configuration of a device, the ‘locale’ qualifier almost always takes the highest precedence over the others. Question: Is there a case wherein other qualifiers in multiple resources take precedence over locale? Answer: Yes, there are actually instances wherein some qualifiers can take precedence over locale. There are two known exceptions, which are the MCC (mobile country code) and MNC (mobile network code) qualifiers. Question: What is Orientation? Answer: Orientation, which can be set using setOrientation(), dictates if the LinearLayout is represented as a row or as a column. Values are set as either HORIZONTAL or VERTICAL. Question: What are the four essential states of an activity? Answer: Active – if the activity is at the foreground, Paused – if the activity is at the background and still visible, Stopped – if the activity is not visible and therefore is hidden or obscured by another activity, Destroyed – when the activity process is killed or completed terminated Question: When is the onStop() method invoked? Answer: A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.
Question: What is the importance of Default Resources? Answer: When default resources, which contain default strings and files, are not present, an error will occur and the app will not run. Resources are placed in specially named subdirectories under the project res/ directory. Question: What are Intents? Answer: Intents displays notification messages to the user from within the Android enabled device. It can be used to alert the user of a particular state that occurred. Users can be made to respond to intents.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help