Skip to content Skip to sidebar Skip to footer

Create Syncable Android Calendar Programmatically

i developed an app-feature to create and sync a local phone calendar through an app. Now i have to sync this calendar online, best through the native phone account. I tried to ext

Solution 1:

You cannot create a new one programatically. Instead parse all available ones with

Uri.parse("content://com.android.calendar/calendars",null, null, null, null);

and fill in your events into a existing one. But ensure, that your event got the same

sync_account

and

_sync_account_type

Post a Comment for "Create Syncable Android Calendar Programmatically"