When I am trying to get the tab host in my activity it is showing the error that do you forget to call public void setup(LocalActivityManager activityGroup)?
public void setup(LocalActivityManager activityGroup)
You are trying to use tabhost.For that you must extend TabActivity.
OR
Write the below code in onCreate():
LocalActivityManager mlam = new LocalActivityManager(this, false); mlam.dispatchCreate(savedInstanceState); // tabHost = getTabHost(); //tabHost.setup(); tabHost.setup(mlam);