I want to create a Google calendar programmatically that is synchronized with the Google account.
I've been searching and using ContentProvider
allows you to create local calendars with type ACCOUNT_TYPE_LOCAL
that do not allow synchronization. I have read that using SyncAdapters
can be done but the information I found is very vague and has not clarified anything.
If anyone knows how to do this and can give me some guidelines to follow or some example I will be grateful.