Android SDK now deprecated TabActivity, as you can see the strike through symbol in previous post. Using the new Android SDK, it is preferred to use Fragment instead, and it is also pretty easy.
- Create a new android project in Eclipse
- Create two (as many as you like)
activitiesFragments in Eclipse:
> Right click the Package Exporer, New > Other, or press Ctrl + N;
> Select Android layout, name it fragment_tabpage1 and fragment_tabpage2