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.
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.
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 the calendars you want to keep.
Since it seems there is no easy free way to do this, I created my own =)
Here is the app: Calendar Toolbox
If someone needs to create, delete, or update a local calendar, it will do it.
Account name
field for that calendar. That might give you a hint. Try to log out of that account, or remove the app with that name, or something.
Android devices have a 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 "Clear storage".
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.
Calendar Backup lets you backup and delete calendars. I just used it with the Samsung calendar on a Galaxy A6.
Before deleting it, you can export it as an .ics file as backup, and it offers you to save it or directly share it to an email or messaging account.