How do I delete a single calendar from the native calendar app (not only the entries: the whole calendar) without wiping out the app or all calendars, in android >4.0?
This feature was available till ICS. In Kitkat, it's still not possible.
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
i just ran into the same problem. I created a local calendar with an app and then removed the app before deleting the calendar. I could re-install the app and delete the calendar there. So for you as a developer this means you should probably add this functionality to your app.
However if you need a quick fix or if someone else is running into this problem with a third party app that does not provide a way to remove its own calendars, you can use the (no longer free) app iCal Import/Export CalDAV by Lukas Aichbauer, as this app allows you to remove any local calendars.
Just start it, select "Edit Calendars", then "Choose Calendar", and select the calendar you want to remove. Then click "Delete Calendar" and confirm if you are certain you have selected the right one.
Maybe use the same app first to pull a backup of your calendars you want to keep.
EDIT: in response to raphadko's comment, i've updated the link, the app still exists but is no longer free
Since it seems there is no easy free way to to this, I created my own =)
If someone needs to create, delete, or update local calendar, it will do it.
Android devices have local calendar storage database that is opaque and difficult to modify with app-level programmatic. You can, however, clear all local calendar data, which should remove the calendar entries permanently. Any sync'd calendars will repopulate.
Settings > Apps & Notifications > See all Apps > (... menu) Show System
Navigate to "Calendar Storage", choose
Storage & cache, and then
All calendar events will disappear, sync'd events will repopulate via account sync over the next few minutes.
Another comment noted a paid app "CalDEV". My guess is that it does a less nuclear version of this.