Android SyncAdapter with CalendarProvider

Viewed 1157

I have been working on implementing a custom Sync Adapter and am now receiving an error which says "Failed to find provider info for ..."

After searching around it appears that I need to provide a ContentProvider but all the examples I can find involve a custom ContentProvider. Such as the example below:

<provider
    android:name=".provider.FeedProvider"
    android:authorities="com.example.android.network.sync.basicsyncadapter"
    android:exported="false" />

However my app syncs Calendar data and therefore I want to use the Calendar Provider as my ContentProvider?

The end goal is to receive data from a server when synchronizing and update the calendar accordingly when this data is received.

Is this actually possible, or would I have to implement my own dummy ContentProvider?

If it is possible, are there any examples as to how this can be done?

1 Answers
Related