title: Android Calendar Intent Code Explanation
body: <p>I wanted to open up the android native calendar application on a button click in my application. I have searched online and I have found the code below:</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_EDIT);  
  intent.setType("vnd.android.cursor.item/event");
  intent.putExtra("title", "Some title");
  intent.putExtra("description", "Some description");
  intent.putExtra("beginTime", eventStartInMillis);
  intent.putExtra("endTime", eventEndInMillis);
  
  startActivity(intent);
  </code></pre>
  
  <p>Could someone please explain this code to me?</p>