title: How can I find out the result of my calendar intent?
body: <p>From my app I am launching the calendar with an intent:</p>
  
  <pre><code>    Calendar cal = Calendar.getInstance();              
      Intent intent = new Intent(Intent.ACTION_EDIT);
      intent.setType("vnd.android.cursor.item/event");
      intent.putExtra("beginTime", cal.getTimeInMillis());
      intent.putExtra("allDay", true);
      intent.putExtra("rrule", "FREQ=YEARLY");
      intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000);
      intent.putExtra("title", "Some title");
      startActivity(intent);
  </code></pre>
  
  <p>I cannot figure out how to get the eventID back if the user goes ahead and saves this pre-populated calendar entry. I also want to know if the user cancelled the calendar prompt, and did not save this new pre-populated event.</p>
  
  <p><strike>Is there anything relevant returned to onActivityResult(...) which I could use as a reference to the calendar event? I need this, so I can later find/open the calendar event for viewing/editing.</strike>
  [Update:] Yea, tried onActivityResult(...), and the intent returns as soon as the calendar opens before any user interaction, so this is no use.</p>
  
  <p>I would like to do this by handing off to the calendar application by using an intent(also to let the user select from the various calendars available on the device) and avoid recreating the calendar UE from my app. Also I would like to support Android 2.2+ at the very least.</p>