Hacker News new | ask | show | jobs
by lern_too_spel 181 days ago
> - but, most importnatly, your Google account's calendar (which you need for Play Store) is still a default and any 3rd party app adding an event to your calendar will adds it to the Google one. You don't get to change the default calendar, you don't get to disable it!

That seems like a bug in Google's Calendar app. Can't you simply install a third party calendar app like Fossify Calendar and set it as the default for handling calendar intents?

2 comments

Are calendar intents handled by the designated calendar app? This particular app adds event directly to calendar, no modal dialog is shown. I assumed therefore this is done on the OS level?

I'll try your approach, though, and report back.

I don't even see an option to to set a default calendar in Settings, it's just not on the list. I can change the digital assistant or a browser, but not Calendar. You sure it's a thing?
As long as an app registers itself as a handler for ics files and calendar intents, you'll see the app picker when you get one of those. There is no notion of calendars in the OS. Apps just register with the OS what kinds of intents and URIs they can handle.
I don't think that's entirely correct? Calendars are part of the OS: https://developer.android.com/identity/providers/calendar-pr...

They get stored in a system table and you add accounts this way as well, right? This is also how DavX provides CalDAV support: it downloads the calendar and syncs it with the system tables.

In any case, at no point was I presented with an option to choose a default Calendar app or nowhere do I see a way to change that.

You would only get presented with an option when an Intent has multiple possible handlers. If you install a new app that handles the insert event intent, then you'll get prompted the next time that intent is started. I just verified this by opening an ics file after installing a new calendar app.