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: 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 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.
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: What are containers?
Answer: Containers, as the name itself implies, holds objects and widgets together, depending on which specific items are needed and in what particular arrangement that is wanted. Containers may hold labels, fields, buttons, or even child containers, as examples.
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