Error with TabWidget in Android
<p>I'm following the tutorial from androiddevelopers website. I copied the code and mTabHost is giving an error. I looked to see if anything needs to be imported, but everything is imported.</p>

<p>the code </p>

<pre><code>package com.tabTestx;

import android.app.Activity;
import android.app.TabActivity;
import android.os.Bundle;

public class TabTestXActivity extends TabActivity {
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    mTabHost = getTabHost();

    mTabHost.addTab(mTabHost.newTabSpec("tab_test1").setIndicator("TAB 1").setContent(R.id.textview1));
    mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator("TAB 2").setContent(R.id.textview2));
    mTabHost.addTab(mTabHost.newTabSpec("tab_test3").setIndicator("TAB 3").setContent(R.id.textview3));

    mTabHost.setCurrentTab(0);
}
}
</code></pre>

<p>Someone please help me</p>
