To add a new Activity to your application, you need to perform the following steps:
To add a new Activity to your application, you need to perform the following steps:
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.
D. Add an Activity tag to AndroidManifest.xml, and add ACTIVITY permission.