How to add .vcs file to Android Calendar

走远了吗. 提交于 2019-12-11 02:21:42

问题


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 and Image, Video, Audio... but it does not added to the local Android Calendar.

Can any one help with this?


回答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)



来源:https://stackoverflow.com/questions/14723469/how-to-add-vcs-file-to-android-calendar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!