title: Android Add Event to Calendar using Intent, get EventID
body: <p>I'm trying to add event through an calendar intent. However, I can't figure out how to get the event ID of the event just added.</p>
  
  <pre><code>        Intent intent = new Intent(Intent.ACTION_EDIT);
          intent.setType("vnd.android.cursor.item/event");
          intent.putExtra("beginTime", sdate.getTime());
          intent.putExtra("endTime", edate.getTime());
          intent.putExtra("allDay", true);
          intent.putExtra("rrule", "FREQ=YEARLY");
          intent.putExtra("title", "A Test Event from android app");
          intent.putExtra("description", "Description here");
          intent.putExtra("eventLocation", "location here here here");
  </code></pre>
  
  <p>I read extensively on other resources and can't seem to find an answer. I tried startActivityForResult but I can't seem to get it work. Other methods I try can't seem to check for it until the activity ends.</p>
  
  <p>Is there any other way to get the event ID after the event has been added to the calendar? I need to use the intent method for this.</p>