title: Android Launching Contacts Application
body: <p>I wanna launch the Contacts application from my application Activity. I am not able to understand how to do it.</p>
  
  <pre><code>    Button contact = (Button) findViewById(R.id.contact);
      contact.setOnClickListener(new View.OnClickListener() {
          public void onClick(View arg0) {
              Intent i4 = new Intent();
              i4.setAction(Intent.ACTION_VIEW);
              i4.addCategory(Intent.CATEGORY_DEFAULT);
              i4.setType("vnd.android.cursor.dir/phone");
              startActivity(i4);
          }
      });
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p><img src="https://i.stack.imgur.com/Y6uNk.png" alt="enter image description here"></p>
  </blockquote>