Jiu-jitsu_parcellize_tobacco-pipe

.docx

School

Princeton University *

*We aren’t endorsed by this school

Course

316

Subject

Information Systems

Date

May 7, 2024

Type

docx

Pages

2

Uploaded by baloyimal on coursehero.com

Question: Which elements can occur only once and must be present? Answer: Among the different elements, the “and” elements must be present and can occur only once. The rest are optional, which can occur as many times as needed. Question: What are the core components under the Android application architecture? Answer: There are 5 key components under the Android application architecture: – services – intent – resource externalization – notifications – content providers 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: 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: What is a Sticky Intent? Answer: A Sticky Intent is a broadcast from sendStickyBroadcast() method such that the intent floats around even after the broadcast, allowing others to collect data from it. 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 importance of XML-based layouts? Answer: The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format. In common practice, layout details are placed in XML files while other items are placed in source files. 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