Refer to this tutorial http://android.codeandmagic.org/android-tabs-with-fragments/
Hope it helps
Frage
I have used activity to display 3 tabs using tab host but i now want to use FRAGMENT to display the tabs, instead of the activity so i want the equivalent code for using tab host in fragment.
Lösung
Refer to this tutorial http://android.codeandmagic.org/android-tabs-with-fragments/
Hope it helps