AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 85


To add a new Activity to your application, you need to perform the following steps:

Show Answer
Correct Answer: C

To add a new Activity to your application, you need to create a Java class that extends Activity, add an Activity tag in AndroidManifest.xml to register it, and create a layout for the activity. This ensures that the new activity has the necessary code, is recognized by the Android system, and has a UI defined through a layout resource.

Discussion

1 comment
Sign in to comment
MmadiOption: D
Dec 31, 2022

D. Add an Activity tag to AndroidManifest.xml, and add ACTIVITY permission.