title: Trying to open WebView in TabHost
body: <p>Ok so i'm trying to create a small app that opens 3 different webviews within 3 different tabs. At the moment I Have my tabhost created ok and a separate class for my webview but when I open the app it doesn't display.</p>
  
  <p>Tabhost code</p>
  
  <pre><code>public class HelloTabWidgetActivity extends TabActivity {
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      Resources res = getResources(); // Resource object to get Drawables
      TabHost tabHost = getTabHost();  // The activity TabHost
      TabHost.TabSpec spec;  // Resusable TabSpec for each tab
      Intent intent;  // Reusable Intent for each tab
  
      // Create an Intent to launch an Activity for the tab (to be reused)
      intent = new Intent().setClass(this, HelloWebViewActivity.class);
  
      // Initialize a TabSpec for each tab and add it to the TabHost
      spec = tabHost.newTabSpec("albums").setIndicator("News",
              res.getDrawable(R.drawable.ic_tab_albums))
          .setContent(intent);
      tabHost.addTab(spec);
  
      // Do the same for the other tabs
      intent = new Intent().setClass(this, SongsActivity.class);
      spec = tabHost.newTabSpec("songs").setIndicator("SaintsTV",
                        res.getDrawable(R.drawable.ic_tab_songs))
                    .setContent(intent);
      tabHost.addTab(spec);
  
      intent = new Intent().setClass(this, ArtistsActivity.class);
      spec = tabHost.newTabSpec("artists").setIndicator("Fixtures",
                        res.getDrawable(R.drawable.ic_tab_artists))
                    .setContent(intent);
      tabHost.addTab(spec);
  
      tabHost.setCurrentTab(0);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>webview code</p>
  
  <pre><code>public class HelloWebViewActivity extends Activity {
      WebView mWebView;
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          mWebView = (WebView) findViewById(R.id.webview);
          mWebView.getSettings().setJavaScriptEnabled(true);
          mWebView.loadUrl("http://www.google.com");
          mWebView.setWebViewClient(new HelloWebViewClient());
      }
  }
  </code></pre>
  
  <p>I can't see a problem and I have read other peoples posts regarding TabHostContentFactory but I have no idea how to make it load the webview when the app opens. Any help would be greatly received. </p>
  
  <p>The above code is based on the HelloWebView tutorial and the HelloTabWidget tutorial</p>