Can not start new activity
<p>I have two classes. The main class is BundleActivity, and another sub class.
I'm trying to start sub activity from BundleActivity but It's not working and app is force closing.</p>

<p>Here is my onClick method in BundleAcitvity class:</p>

<pre><code>public void onClick(View v) {
        // TODO Auto-generated method stub

            Intent i=new Intent(this,sub.class);
            this.startActivity(i);
                            }
</code></pre>

<p>My manifest file :</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.bundle"
    android:versionCode="1"
    android:versionName="1.0" &gt;
    &lt;uses-sdk android:minSdkVersion="8" /&gt;

    &lt;application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" &gt;
          &lt;activity
            android:name=".BundleActivity"
            android:label="@string/app_name" &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=".sub"
            android:label="@string/app_name" &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.bundle.sub" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;

    &lt;/application&gt;

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

<p>Any one help me to fix it?</p>
