如何创建 "Subscribe to Calendar" link 到 Android 上 Google 日历的 ics 文件?

How to create a "Subscribe to Calendar" link to an ics file that works on Google Calendar on Android?

我有一个网络应用程序可以创建自定义 ics 文件,然后用户可以通过 link 订阅该文件。在 OS X 和 iOS 上,iCal 处理 ics 文件并询问用户是否愿意订阅日历。在桌面 Google 日历(在浏览器中),我可以使用以下格式:

https://www.google.com/calendar/render?cid=http://example.com/calendarfile.ics

但是,在 Android,打开这个 link 会得到以下信息:

"You are trying to use the desktop version of Google Calendar from a mobile browser. Some features may not work correctly. Would you like to proceed to the desktop version anyway?"

如何构造 link 以便在 Android 时自动打开日历应用程序并允许用户订阅 - 或者,打开移动日历并允许用户订阅不先发出警报?

据我所知,目前无法在 Android 上订阅 ics 文件。您可以下载文件并将其导入日历应用程序(但不会自动刷新)。