如何添加.vcs文件到Android的Google日历 [英] How to add .vcs file to Android Calendar

查看:1051
本文介绍了如何添加.vcs文件到Android的Google日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过这个<一去href=\"http://stackoverflow.com/questions/11825221/add-calendar-event-to-android-from-web-vcs-download\">SO论坛和它说添加一个标题为 .vcs 文件但是当我尝试打开 .vcs 通过单击文件的Andr​​oid系统弹出来打开 .vcs 文件,图像,视频,音频......但它不添加到本地的 Android的Google日历

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?

推荐答案

.vcs 是当今使用很老了。我建议你​​创建新的版本的.ics 文件,而不是 .vcs 和尝试以下操作;

.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");

之间的差异的.ics .vcs 可从的here

这篇关于如何添加.vcs文件到Android的Google日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆