Dowieite_salvadora_youdendrift
docx
keyboard_arrow_up
School
Northern Virginia Community College *
*We aren’t endorsed by this school
Course
222
Subject
Information Systems
Date
Feb 20, 2024
Type
docx
Pages
2
Uploaded by DoctorSnakePerson1077
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 are the four essential states of an activity?
Answer: Active – if the activity is at the foreground, Paused – if the activity is at the background and still visible, Stopped – if the activity is not visible and therefore is hidden or
obscured by another activity, Destroyed – when the activity process is killed or completed terminated
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 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: 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 proper way of setting up an Android-powered device for app development?
Answer: The following are steps to be followed prior to actual application development in an Android-powered device: -Declare your application as “debuggable” in your Android Manifest. -Turn on “USB Debugging” on your device. -Set up your system to detect your
device.
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: 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.
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