title: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=login_filter (has extras) }
body: <pre><code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=login_filter (has extras) } 
      at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1798)
      at android.app.Instrumentation.execStartActivity(Instrumentation.java:1512)
      at android.app.Activity.startActivityForResult(Activity.java:3917)
      at android.app.Activity.startActivityForResult(Activity.java:3877)
      at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:843)
      at android.app.Activity.startActivity(Activity.java:4200)
      at android.app.Activity.startActivity(Activity.java:4168)
      at com.example.carlos.assigmentcarlos.MainActivity$1.onClick(MainActivity.java:32)
      at android.view.View.performClick(View.java:5198)
      at android.view.View$PerformClick.run(View.java:21147)
      at android.os.Handler.handleCallback(Handler.java:739)
      at android.os.Handler.dispatchMessage(Handler.java:95)
  </code></pre>
  
  <p>Well, I am trying to run this project, but this error is appearing. I am not sure why Intent is not working.</p>
  
  <p>This is my Main:</p>
  
  <pre><code>package com.example.carlos.assigmentcarlos;
  
  import android.content.Intent;
  import android.os.Bundle;
  import android.support.v7.app.ActionBarActivity;
  import android.view.View;
  import android.view.View.OnClickListener;
  import android.widget.Button;
  
  public class MainActivity extends ActionBarActivity {
      Button Login, Register, Delete, Update;
      int status = 0;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          Login = (Button) findViewById(R.id.Login);
          Register = (Button) findViewById(R.id.Reg);
          Delete = (Button) findViewById(R.id.Delete);
          Update = (Button) findViewById(R.id.Update);
          Login.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View arg0) {
                  status = 1;
                  Bundle b = new Bundle();
                  b.putInt("status", status);
                  Intent i  = new Intent("login_filter");
                  i.putExtras(b);
                  startActivity(i);
              }
          });
  
          Register.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  // TODO Auto-generated method stub
                  Intent i  = new Intent("register_filter");
                  startActivity(i);
              }
          });
          Update.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View arg0) {
                  status = 2;
                  Bundle b = new Bundle();
                  b.putInt("status", status);
                  Intent i  = new Intent("login_filter");
                  i.putExtras(b);
                  startActivity(i);
              }
          });
          Delete.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View arg0) {
                  status = 3;
                  Bundle b = new Bundle();
                  b.putInt("status", status);
                  Intent i  = new Intent("login_filter");
                  i.putExtras(b);
                  startActivity(i);
              }
          });
      }
  }
  </code></pre>
  
  <p>This is my register:</p>
  
  <pre><code>package com.example.carlos.assigmentcarlos;
  
  /**
   * Created by Carlos on 22/04/2016.
   */
  import android.app.Activity;
  import android.content.Context;
  import android.content.Intent;
  import android.database.Cursor;
  import android.os.Bundle;
  import android.view.View;
  import android.view.View.OnClickListener;
  import android.widget.Button;
  import android.widget.EditText;
  import android.widget.Toast;
  
  public class Register extends Activity {
      Button Login;
      EditText USERNAME,USERPASS;
      String username,userpass;
      Context CTX = this;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.login_layout);
          Login = (Button) findViewById(R.id.b_login);
          USERNAME = (EditText) findViewById(R.id.user_name);
          USERPASS = (EditText) findViewById(R.id.user_pass);
          Login.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View arg0) {
                  Bundle b = getIntent().getExtras();
                  int status = b.getInt("status");
                  if(status == 1)
                  {
                      Toast.makeText(getBaseContext(), "Please wait...", Toast.LENGTH_LONG).show();
                      username = USERNAME.getText().toString();
                      userpass = USERPASS.getText().toString();
                      DatabaseOperations DOP = new DatabaseOperations(CTX);
                      Cursor CR = DOP.getInformation(DOP);
                      CR.moveToFirst();
                      boolean loginstatus = false;
                      String NAME = "";
                      do
                      {
                          if(username.equals(CR.getString(0))&amp;&amp; (userpass.equals(CR.getString(1))))
                          {
                              loginstatus = true;
                              NAME = CR.getString(0);
                          }
                      } while(CR.moveToNext());
  
                      if(loginstatus)
                      {
                          Toast.makeText(getBaseContext(), "Login Success----\n Welcome "+NAME, Toast.LENGTH_LONG).show();
                          finish();
                      }
                      else
                      {
                          Toast.makeText(getBaseContext(), "Login Failed---- ", Toast.LENGTH_LONG).show();
                          finish();
                      }
                  }
                  else if(status == 2)
                  {
                      Toast.makeText(getBaseContext(), "Please wait...", Toast.LENGTH_LONG).show();
                      username = USERNAME.getText().toString();
                      userpass = USERPASS.getText().toString();
                      DatabaseOperations DOP = new DatabaseOperations(CTX);
                      Cursor CR = DOP.getInformation(DOP);
                      CR.moveToFirst();
                      boolean loginstatus = false;
                      String NAME = "";
                      do
                      {
                          if(username.equals(CR.getString(0))&amp;&amp; (userpass.equals(CR.getString(1))))
                          {
                              loginstatus = true;
                              NAME = CR.getString(0);
                          }
                      } while(CR.moveToNext());
  
                      if(loginstatus)
                      {
                          Toast.makeText(getBaseContext(), "Login Success----\n Welcome "+NAME, Toast.LENGTH_LONG).show();
  
                          Intent i = new Intent("update_filter");
                          Bundle BN = new Bundle();
                          BN.putString("user_name",NAME );
                          BN.putString("user_pass",userpass );
                          i.putExtras(BN);
                          startActivity(i);
                          finish();
                      }
                      else
                      {
                          Toast.makeText(getBaseContext(), "Login Failed---- ", Toast.LENGTH_LONG).show();
                          finish();
                      }
                  }
                  else if(status == 3)
                  {
                      Toast.makeText(getBaseContext(), "Please wait...", Toast.LENGTH_LONG).show();
                      username = USERNAME.getText().toString();
                      userpass = USERPASS.getText().toString();
                      DatabaseOperations DOP = new DatabaseOperations(CTX);
                      Cursor CR = DOP.getInformation(DOP);
                      CR.moveToFirst();
                      boolean loginstatus = false;
                      String NAME = "";
                      do
                      {
                          if(username.equals(CR.getString(0))&amp;&amp; (userpass.equals(CR.getString(1))))
                          {
                              loginstatus = true;
                              NAME = CR.getString(0);
                          }
                      } while(CR.moveToNext());
  
                      if(loginstatus)
                      {
                          Toast.makeText(getBaseContext(), "Login Success----\n Welcome "+NAME, Toast.LENGTH_LONG).show();
                          Intent i = new Intent("delete_filter");
                          Bundle B = new Bundle();
                          B.putString("user_name",NAME );
                          i.putExtras(B);
                          startActivity(i);
  
                          finish();
                      }
                      else
                      {
                          Toast.makeText(getBaseContext(), "Login Failed---- ", Toast.LENGTH_LONG).show();
                          finish();
                      }
  
                      Intent i = new Intent("delete_filter");
                      startActivity(i);
                  }
              }
          });
      }
  }
  </code></pre>
  
  <p>Android manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;Button
          android:id="@+id/Home"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Home"
          android:layout_alignParentBottom="true"
          android:layout_alignParentCenter="true" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>