OK, I must be overlooking something silly because I am unable to get my tabhost to display in my Activity class. I am getting the dreaded force close when I try to run the
Had the same problem: this question helps Android: TabHost without TabActivity
Apparently, you only need to add one line:
LocalActivityManager mLocalActivityManager = new LocalActivityManager(this, false); mLocalActivityManager.dispatchCreate(savedInstanceState); host.setup(mLocalActivityManager);