title: Can Android download any type of calendar event? If so, what is the file structure?
body: <p>I have been hunting for ages trying to determine what format of calendar invite/event an Android device can download and incorporate into the system calendar - however I have not been able to locate anything!</p>
  
  <p>By default the device does not support iCal or vCal - and the formats for both of these are well defined and easy to create. For example, this PHP script works perfectly for an iPad or an iPhone - so when you visit the page, the device invites you to add it to your calendar:</p>
  
  <pre><code>&lt;?
  $ical = "BEGIN:VCALENDAR
  VERSION:2.0
  PRODID:-//hacksw/handcal//NONSGML v1.0//EN
  BEGIN:VEVENT
  UID:" . md5(uniqid(mt_rand(), true)) . "@yourhost.test
  DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z
  DTSTART:19970714T170000Z
  DTEND:19970715T035959Z
  SUMMARY:Bastille Day Party
  END:VEVENT
  END:VCALENDAR";
  
  header("Content-type: application/force-download");
  header('Content-Disposition: attachment; filename=calendar.ics');
  echo $ical;
  exit;
  ?&gt;
  </code></pre>
  
  <p>I'm trying to create something similar for Android, but am unable to find any guidance on what file it will happily download natively, <strong>without some third party apps</strong>!</p>
  
  <p>Any ideas or help appreciated!</p>
  
  <p>Thanks,
  Kaiesh</p>