Possible Duplicate:
Android SDK Fragment Support
I tried to use Tabbed view using FragmentActivity. As I am developing for Android 2.3, I have used android-support-v4.jar to get Fragment related classes. I have followed the code described in TabActivity in Android developer's Guide. But I am facing problem to code used to tab in TabManager .
mTabManager.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
FragmentStackSupport.CountingFragment.class, null);
mTabManager.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"),
LoaderCursorSupport.CursorLoaderListFragment.class, null);
mTabManager.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"),
LoaderCustomSupport.AppListFragment.class, null);
mTabManager.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle"),
LoaderThrottleSupport.ThrottledLoaderListFragment.class, null);
None of the classes of FragmentStackSupport, LoaderCursorSupport, LoaderCustomSupport, LoaderThrottleSupport is available to import. Where is problem? I just want to set simple tab with text or image title. How to implement it?