Which of the following is not true about <activity> tag in AndroidManifest file?
A . Declares an activity that implements part of the application’s visual user interface
B . Contained in <application> tag.
C . Declares a single hardware or software feature that is used by the application.
D . Has an attribute that specifies the name of the Activity sub-class that implements the activity.
Answer: C
Explanation:
Incorrect:
A: An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View).
B, D: Example:
<application . . .>
<activity android:name="com.example.project.FreneticActivity"
android:permission="com.example.project.DEBIT_ACCT"
. . . >
. . .
</activity>
References:
http://developer.android.com/reference/android/app/Activity.html
Latest AND-401 Dumps Valid Version with 228 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund