Here are the problems and corrections for this particular tutorial:
Step 2: When creating your actions, if you do not create them through the manifest, you will need to add them to the manifest manually.
Add these lines to AndroidManifest.xml:
<activity android:name=".AlbumsActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
</activity>
<activity android:name=".ArtistsActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
</activity>
<activity android:name=".SongsActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
</activity>
3: ic_tab_artists.xml. ic_tab_songs.xml ic_tab_albums.xml. ic_tab_artists.xml( HelloTabView.java, artist.xml ).
4: /res/layout/main (a, :)
android:padding="5dp" />
</LinearLayout>
</TabHost>
6: , mTabHost tabHost. .
, getIntent() . id. :
tabHost.setCurrentTabByTag("albums");