Vent_danic_serimpi

docx

School

University Of Arizona *

*We aren’t endorsed by this school

Course

137

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by AmbassadorWallaby3968

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: What is the importance of settings permissions in app development? Answer: Permissions allow certain restrictions to be imposed primarily to protect data and code. Without these, codes could be compromised, resulting to defects in functionality. Question: What composes a typical Android application project? Answer: A project under Android development, upon compilation, becomes an .apk file. This apk file format is actually made up of the AndroidManifest.xml file, application code, resource files, and other related files. Question: How do you remove icons and widgets from the main screen of the Android device? Answer: To remove an icon or shortcut, press and hold that icon. You then drag it downwards to the lower part of the screen where a remove button appears. 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: 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 items are important in every Android project? Answer: These are the essential items that are present each time an Android project is created: AndroidManifest.xml, build.xml, bin/, src/, res/, assets/ 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.
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