I keep getting the error FATAL EXCEPTION. Unable to instantiate activity
<p>FATAL EXCEPTION
E/AndroidRuntime(535): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.This.Calculator/com.This.Calculator.BatteryCalculatorActivity}: java.lang.ClassNotFoundException: com.This.Calculator.ThisBatteryCalculatorActivity</p>

<p>I was just following the tutorial of Android Developers for Tab View and I'd like to think that I followed it to the word... But it seems that I haven't. Can someone please help me?
I'm using eclipse btw.</p>

<p>Here are my codes:</p>

<p>for the ThisBatteryCalculator</p>

<pre><code>  package com.This.Calculator;

import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.TabHost;



@SuppressWarnings("deprecation")
public class ThisBatteryCalculator extends TabActivity {
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    Resources res = getResources(); // Resource object to get Durables
    TabHost tabHost = getTabHost();  // The activity TabHost
    TabHost.TabSpec spec;  // Reusable 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, ArtistsActivity.class);

    // Initialize a TabSpec for each tab and add it to the TabHost
    spec = tabHost.newTabSpec("artists").setIndicator("Artists",
                      res.getDrawable(R.drawable.ic_tab_artists))
                  .setContent(intent);
    tabHost.addTab(spec);

    // Do the same for the other tabs
    intent = new Intent().setClass(this, AlbumsActivity.class);
    spec = tabHost.newTabSpec("albums").setIndicator("Albums",
                      res.getDrawable(R.drawable.ic_tab_albums))
                  .setContent(intent);
    tabHost.addTab(spec);

    intent = new Intent().setClass(this, SongActivity.class);
    spec = tabHost.newTabSpec("songs").setIndicator("Songs",
                      res.getDrawable(R.drawable.ic_tab_songs))
                  .setContent(intent);
    tabHost.addTab(spec);

    tabHost.setCurrentTab(2);
}
}
</code></pre>

<p>for my manifest:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.This.Calculator"
android:versionCode="1"
android:versionName="1.0" &gt;

&lt;uses-sdk android:minSdkVersion="15" /&gt;

&lt;application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" &gt;
    &lt;activity
        android:name=".ThisBatteryCalculatorActivity"          
        android:label="@string/app_name" &gt;
        android:theme="@android:style/Theme.NoTitleBar"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
 &lt;/activity&gt;
        &lt;activity android:name=".ArtistsActivity"
          android:label="@string/app_name" 
          android:theme="@android:style/Theme.NoTitleBar"&gt;
&lt;/activity&gt;

&lt;activity android:name=".SongActivity"
          android:label="@string/app_name" 
          android:theme="@android:style/Theme.NoTitleBar"&gt;
&lt;/activity&gt;

&lt;activity android:name=".AlbumsActivity"
          android:label="@string/app_name" 
          android:theme="@android:style/Theme.NoTitleBar"&gt;
&lt;/activity&gt;

&lt;/application&gt;



&lt;/manifest&gt;
</code></pre>

<p>and finally for my main.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent"&gt;
&lt;LinearLayout
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="5dp"&gt;
    &lt;TabWidget
        android:id="@android:id/tabs"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" /&gt;
    &lt;FrameLayout
        android:id="@android:id/tabcontent"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:padding="5dp" /&gt;
&lt;/LinearLayout&gt;
&lt;/TabHost&gt;
</code></pre>

<p>Any help would be greatly appreciated! Thank you!</p>
