Geophysics_nonsatirical_maid-in-waiting

.docx

School

Northern Virginia Community College *

*We aren’t endorsed by this school

Course

220

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by DoctorSnakePerson1077

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: 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. Question: What is AIDL? Answer: AIDL, or Android Interface Definition Language, handles the interface requirements between a client and a service so both can communicate at the same level through interprocess communication or IPC. This process involves breaking down objects into primitives that Android can understand. This part is required simply because a process cannot access the memory of the other process. Question: What is a visible activity? Answer: A visible activity is one that sits behind a foreground dialog. It is actually visible to the user, but not necessarily being in the foreground itself. Question: When does ANR occur? Answer: The ANR dialog is displayed to the user based on two possible conditions. One is when there is no response to an input event within 5 seconds, and the other is when a broadcast receiver is not done executing within 10 seconds. Question: What is the function of an intent filter? Answer: Because every component needs to indicate which intents they can respond to, intent filters are used to filter out intents that these components are willing to receive. One or more intent filters are possible, depending on the services and activities that are going to
make use of it. 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 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.
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