I'm working on the Tabs example from Google Android Developers site (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) but I'm stuck in step 2.
At the very end of step 2 says "Duplicate this for each of the three activities, and add the corresponding tags to the Android Manifest file"
What exactly do I have to add to the AndroidManifest.xml?
Thanks
Basically you have register each activities in AndroidManifest.xml like this
This is how your Manifest file should be:
This will work for sure!!
just add every activity AndroidManifest.xml
You have to add the corresponding
<activity>
tags for each one of the three activities. The AndroidManifest.xml file describes the components of the application (amongst other things like permissions and API level support).In this example you have to add three definitions: