Unmercurially_neuradynamia_unspotten

docx

School

University of Illinois, Urbana Champaign *

*We aren’t endorsed by this school

Course

100

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by PresidentTeamIbex33

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 language is supported by Android for application development? Answer: The main language supported is Java programming language. Java is the most popular language for app development, which makes it ideal even for new Android developers to quickly learn to create and deploy applications in the Android environment. Question: What is the importance of having an emulator within the Android environment? Answer: The emulator lets developers “play” around an interface that acts as if it were an actual mobile device. They can write and test codes, and even debug. Emulators are a safe place for testing codes especially if it is in the early design phase. Question: When is the best time to kill a foreground activity? Answer: The foreground activity, being the most important among the other states, is only killed or terminated as a last resort, especially if it is already consuming too much memory. When a memory paging state has been reach by a foreground activity, then it is killed so that the user interface can retain its responsiveness to the user. 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 AndroidManifest.xml? Answer: This file is essential in every application. It is declared in the root directory and contains information about the application that the Android system must know before the codes can be executed. 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.
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