使用android sdk访问日历
问题描述:
我试图从sdk访问API的日历,但每当我尝试访问应用程序时都会崩溃。 Android中是否存在某种防止APP访问日历的保护措施?使用android sdk访问日历
我真的试图完成这样的应用
https://market.android.com/details?id=com.samcom.nexty&feature=search_result
答
你有访问日历正确的权限?我相信您可能需要在清单中声明:
<uses-permission android:name="android.permission.READ_CALENDAR"/>
//If you need to write to the calendar
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
否您应该可以访问日历。调试错误指向哪里? – yoshi24
请使用Google日历GData API访问用户的Google日历。 – CommonsWare