如何阅读Google日历中的提醒 [英] How to read reminders in google calendars
问题描述
我正在尝试阅读用户设置的提醒.我所说的提醒"是指:目前有两种不同的含义,第一种是与日历中每个事件相关的警报",您可以从CalendarContract.Reminders
中读取它们,第二种是用户插入的无关事件通过带有记住我的名字..."的Google即时,或带有插入提醒操作的Google日历应用.我在说第二个.
我正在从事件表CalendarContract.Events
中读取.但是,似乎此信息未保存在此处或无法访问.是否有其他提醒内容提供商?
提醒"数据似乎保存在"com.google.android.gms.reminders.provider.RemindersProvider"内容提供商可以访问的数据库中.>
不幸的是,该提供程序未导出,因此第三方应用程序无法访问.
不用说内容提供者没有文档证明,也不存在公共API.
I'm trying to read the reminders set by the user. What I mean with "reminder": currently there are two different meaning, the first one is the "alert" related to each event in the calendar and you can read them from CalendarContract.Reminders
, the second one are unrelated events inserted by the user via Google Now with "remember me to...." or via Google Calendar app with insert reminder action. I'm talking about the second one.
I'm reading from the event table CalendarContract.Events
. However it seems that this information is not saved there or it's not accessible. Is there a different content provider for reminders?
The Reminders data seems to be held in a database accessible by the 'com.google.android.gms.reminders.provider.RemindersProvider' content provider.
Unfortunately, the provider is not exported and therefore is not accessible to third party apps.
Needless to say that the content provider is not documented and no public API exists.
这篇关于如何阅读Google日历中的提醒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!