title: How to add a Calendar event with ICS file (URL) in Android from an Intent?
body: <p>I'm having an *.ics file that returned from API response and what I'm trying is to add it to users Calendar (through the Calendar Add Event activity). Would be something like this in iOS:
  <a href="https://stackoverflow.com/questions/24315548/how-can-i-open-calendar-ics-files-in-ios">How can I open calendar .ics files in ios?</a></p>
  
  <p>I've been searching around but seems like there is no default action handler to add ics file from url? So far I have tried these solutions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/a/5976386">https://stackoverflow.com/a/5976386</a></li>
  <li><a href="https://stackoverflow.com/a/4336183/5315499">https://stackoverflow.com/a/4336183/5315499</a></li>
  </ul>
  
  <p>but none are available for handling the ICS file.</p>
  
  <p>They are working fine for the same purpose but in my current situation, we want the action handlers to be the same through all platforms and using the same api response (returns a downloadable uri of .ics file).</p>
  
  <p>Has anybody run into the same situation? Or if anybody knows how the Gmail works if you send/attach an ics file within (it's able to add that event to calendar)?</p>