-
Notifications
You must be signed in to change notification settings - Fork 0
Interacting with the Calendar
This guide outlines how to programmatically interact with a user's calendar using intents or through the CalendarProvider
.
(Needs Attention)
For general usage of intents for interacting with the Calendar which is generally simpler but more limited when compared to content providers, check out this calendar intents guide.
See this tutsplus guide for details on how to add an event to the users calendar using intents.
The Calendar Provider is a repository for a user's calendar events. The Calendar Provider API allows you to perform query, insert, update, and delete operations on calendars, events, attendees, reminders, and so on.
You can check out the official docs for an overview. You can also check out this post for retrieving calendars and this second post for retrieving calendar events.
- http://developer.android.com/guide/topics/providers/calendar-provider.html
- http://code.tutsplus.com/tutorials/android-essentials-adding-events-to-the-users-calendar--mobile-8363
- http://www.emberex.com/using-androids-built-in-calendarprovider-part-one-retrieving-calendars/
- http://www.emberex.com/using-androids-built-in-calendarprovider-part-two-retrieving-events/
- http://www.grokkingandroid.com/intents-of-androids-calendar-app/
Created by CodePath with much help from the community. Contributed content licensed under cc-wiki with attribution required. You are free to remix and reuse, as long as you attribute and use a similar license.
Finding these guides helpful?
We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.
Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.
Interested in ramping up on Android quickly?
(US Only) If you are an existing engineer with 2+ years of professional experience in software development and are serious about ramping up on Android quickly, be sure to apply for our free evening 8-week Android bootcamp.
We've trained over a thousand engineers from top companies including Apple, Twitter, Airbnb, Uber, and many others leveraging this program. The course is taught by Android experts from the industry and is specifically designed for existing engineers.
Not in the United States? Please fill out our application of interest form and we’ll notify you as classes become available in your area powered by local organizers.