开发者

Accessing the calendar with android sdk

i'm trying to access the calendar with the API from the sdk, but the APP is crushing every time I try to access. Is there some kind of protection in android that prevent APP's from accessing the calendar?

I`m trying to accomplish something like this app

https://market.android.com/details?id=com.samcom.ne开发者_Go百科xty&feature=search_result


Do you have the correct permissions for accessing the calendar? I believe you may need to declare this in your manifest:

<uses-permission android:name="android.permission.READ_CALENDAR"/>
//If you need to write to the calendar
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜