Opening Activities
Using Your Activity
Open the AndroidManifest.xml and click on the Application tab.
Now click on Add, Select Activity, and click okay. Now, next to name click browse and browse to your activity. If you save and run again, you should see that clicking on Hello 1 now displays a screen that says, “Hello World”.
I will leave adding getting the Hello 2 item on the list working as an exercise for the reader.
No comments:
Post a Comment