我们正在开发一款 Android 日历应用。问题是我们想要获取其他日历的事件并将我们的事件也分享给他们。正如我所读到的,这是由内容提供商实现的。
问题是日历内容提供者需要的API级别是API 14,我们需要在API 7(Android 2.1)中使用它。我见过在 Android 2.1 中执行此操作的应用程序。
我们怎样才能做到这一点?
最佳答案
日历提供程序在那里,但 API 在 API 级别 14 之前不公开,权限可能因设备而异。以下是一些示例:Is there a way to access the calendar's entries without using gdata-java-client?
关于Android 日历提供程序 API 级别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9199979/