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 communityHow 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 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 =)
Here is the app: https://play.google.com/store/apps/details?id=com.whitebox.calendartoolbox
If someone needs to create, delete, or update 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 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.
In Calendar app, go to Menu -> Calendars to display
and uncheck the calendar you wish to stop displaying. On that same screen you can also tap the Calendars to sync
button, uncheck the calendar(s) you wish to stop from being synchronized to the phone and tap the OK
button.
Settings -> Accounts & sync
menu.