title: New intent,application restarts
body: <p>from my first class (infoWifiActivity.class) i want to call the second one(Netdetails.class).</p>
  
  <pre><code>Intent myIntent = new Intent(InfoWifiActivity.this,Netdetails.class);
  startActivity(myIntent);
  </code></pre>
  
  <p>in my manifest i added this</p>
  
  <pre><code>&lt;activity
      android:name=".Netdetails"
      android:label="@string/app_name" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="my.infoWifi.Netdetails" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>exactly above the .
  But everytime the application restarts.Any idea about this?</p>