Skip to content Skip to sidebar Skip to footer

How To Add .vcs File To Android Calendar

I went through this SO forum and it says to add a header to the .vcs file but when I try to open the .vcs file by clicking on it an Android system popup comes to open the .vcs file

Solution 1:

.vcs is very old for today usage. I recommend you to create newer version .ics file instead of .vcs and try the following;

header("Content-Type: text/Calendar");
header("Content-Disposition: attachment; filename=london2012.ics");

See Difference between iCalendar (.ics) and the vCalendar (.vcs)

Post a Comment for "How To Add .vcs File To Android Calendar"