Can I create or delete an Android calendar from a custom application?
I'm trying to make an application that manages the internal Android calendar, but I want to know if I can delete or create new calendars. (I know about the calendar'开发者_如何学Cs events but not about the calendars.) Can you help me with examples or documentation?
Some code on how to read calendars and their events here. You should also be able to write to the Calendar ContentProvider.
But remember there is no official Calendar API. Any code working today or on a certain device can break in the future or on other devices.
Have a look at this question
精彩评论