title: Check if an calendar event is going on
body: <p>I need to check if there is currently an calendar event that is "busy".</p>
  
  <pre><code>String[] projection = new String[] { BaseColumns._ID};
  String selection = CalendarContract.Events.DTSTART + " &lt;= ? AND "
          + CalendarContract.Events.DTEND + "&gt;= ? AND "
          + CalendarContract.Events.AVAILABILITY + "=="
          + CalendarContract.Events.AVAILABILITY_BUSY;
  
  Cursor cur = ctx.getContentResolver().query(CalendarContract.Events.CONTENT_URI,
          projection,
          selection,
          new String[] {String.valueOf(System.currentTimeMillis()),
          String.valueOf(System.currentTimeMillis())},
          null);
  </code></pre>
  
  <p>This code works fine, but not for recurring events.
  How can I solve this?</p>