安卓日历提供API级别 [英] Android Calendar Provider API Level

查看:128
本文介绍了安卓日历提供API级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个Android日历应用程序。问题是,我们希望得到其他日历的事件,并分享我们的活动给他们了。正如我已阅读本由内容提供商来实现的。

We are developing an Android calendar app. The problem is that we want to get the events of other calendars and share our event to them too. As I have read this is achieved by a content provider.

问题是,按日历内容提供商所需的API级别为14 API,我们需要使用它的API 7(Android 2.1的)。我已经看到,做应用程序在Android 2.1系统。

The problem is that the API level required by calendar content provider is API 14 and we need to use it in API 7(Android 2.1). I have seen apps that do that in Android 2.1.

我们如何才能做到这一点?

How can we achieve that?

推荐答案

日历提供商是有,但空气污染指数是不公开的API级14前后的权力可能会有所不同,从设备到设备。下面是一些例子:有没有一种方法来访问日历的条目,而无需使用gdata的Java的客户端

The calendar provider is there but the API is not public before API level 14 and the authority may vary from device to device. Here are some examples: Is there a way to access the calendar's entries without using gdata-java-client?

这篇关于安卓日历提供API级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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