1) Once installed on a device, each Android application lives in_______?
c) security sandbox
d)None of the above
2)Parent class of Activity?
3)What are the Direct subclasses of Activity?
f) all the aove
4)What are the indirect Direct subclasses of Activity?
d)All the above
5)Parent class of Service?
6)What are the indirect Direct subclasses of Services?
7)Which component is not activated by an Intent?
1. bmgr tool is used to
a)take backup of the applications
b)to restore operations
c)wipe archived data for a specific application
d)all of the above
2. foreground service
a)starts when you call start foreground()
b)may or may not provide a notification for the status bar
c)notification can't be dismissed unless the service is either stopped or removed from the
d)both a & c
3. A1,A2,A3 and A4 are activities called using intents.Then A1-A4-A2--A3.A4 calls A2 with
intent flag FLAG_ACTIVITY_NO_HISTORY.When finish method is called on A3, What will be the
currtent running activity?
4. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A4--A3.A2 calls A4 with
intent flag FLAG_ACTIVITY_CLEAR_TOP.When finish() method is called on A3, what will be the
current running activity?
5. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A3-A4. A3 calls A4 with no
What is an action?
The Intent Sender desires something or doing some task
What is activity?
A single screen in an application, with supporting Java code.
What is intent in Android? A class (Intent) will describes what a caller desires to do. The caller will send this intent to Android's intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF document is an intent, and the Adobe Reader apps will be the perfect activity for that intent(class).
What is a Sticky Intent?
sendStickyBroadcast() performs a sendBroadcast (Intent) known as sticky, i.e. the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver (BroadcastReceiver, IntentFilter). In all other ways, this behaves the same as sendBroadcast(Intent). One example of a sticky broadcast sent via the operating system is ACTION_BATTERY_CHANGED. When you call registerReceiver() for that action…