title: Implicit vs Explicit Intent in Android ( startActivity(intent) crashes )
body: <p>I'm new in this world. I have a problem when I use startActivity(intent). 
  This is the Manifest:</p>
  
  <pre><code>&lt;activity
          android:name="com.example.counter.Splash"
          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="com.example.counter.MainActivity"
          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.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
  </code></pre>
  
  <p>And this is the code:</p>
  
  <pre><code> public class Splash extends Activity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.splash);
  
      Thread timer = new Thread(){
          public void run()
          {
              try
              {
                  sleep(5000);
  
              }
              catch (InterruptedException e)
              {
                  e.printStackTrace();
              }
              finally
              {
  
                  Intent i=new Intent ("com.example.counter.MainActivity");
                  startActivity(i);
              }
          }
      };
  
      timer.start();
  
  }
  </code></pre>
  
  <p>I'd want to show Splash activity for 5 seconds and then show MainActivity. 
  LogErrors: !<a href="https://www.dropbox.com/s/kg7xyp6h4b95itq/Screenshot%202014-02-08%2016.57.36.png" rel="nofollow noreferrer">https://www.dropbox.com/s/kg7xyp6h4b95itq/Screenshot%202014-02-08%2016.57.36.png</a></p>