Humanized_fuddles_motivationally

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: How are escape characters used as attribute? Answer: Escape characters are preceded by double backslashes. For example, a newline character is created using ‘\\n’ 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 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: What role does Dalvik play in Android development? Answer: Dalvik serves as a virtual machine, and it is where every Android application runs. Through Dalvik, a device is able to execute multiple virtual machines efficiently through better memory management. Question: What is ANR? Answer: ANR is short for Application Not Responding. This is actually a dialog that appears to the user whenever an application have been unresponsive for a long period of time. 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: 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: Differentiate Activities from Services. Answer: Activities can be closed, or terminated anytime the user wishes. On the other hand, services are designed to run behind the scenes, and can act independently. Most services run continuously, regardless of whether there are certain or no activities being executed.
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