Dihydrosphingosine_overattentiveness_profarmer

.docx

School

Houston Community College *

*We aren’t endorsed by this school

Course

53

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by CountQuail2118

Report
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: 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: What data types are supported by AIDL? Answer: AIDL has support for the following data types: -string, -charSequence, -List, -Map, - all native Java data types like int, long, char and Boolean 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: Describe Activities. Answer: Activities are what you refer to as the window to a user interface. Just as you create windows in order to display output or to ask for an input in the form of dialog boxes, activities play the same role, though it may not always be in the form of a user interface. 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 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: What are the different states wherein a process is based? Answer: There are 4 possible states: foreground activity, visible activity, background activity, empty process
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