开发者

Can i get the events from events database dynamically(in code)?

I am developing a calendar application. And i have a need to list all the events store in calendar to list in my layout. So that i need to fetch all the ev开发者_开发技巧ents from the calendar database. How can i make this possible?


You can get user's calendars, and then get its events, take a look at android calendar's EventLoader class and related classes.

The content provider for calendar events is accessible using this URLs:

for SDK version < 8 : content://calendar/events

for SDK version >= 8 : content://com.android.calendar/events

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜