Which of the following is incorrect about intents?
A . They can be used to start an Activity
B . They can be used to start a service
C . They can be used to start database insertion
D . They can be used to start a dialog-themed activity.
Answer: C
Explanation:
Incorrect:
A, B: An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background Service.
D: Example:
public static final String ACTION_BATTERY_LOW
Added in API level 1
Broadcast Action: Indicates low battery condition on the device. This broadcast corresponds to the "Low battery warning" system dialog.
References:
http://developer.android.com/reference/android/content/Intent.html
Latest AND-401 Dumps Valid Version with 228 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund