android - Syncing multiple providers with one SyncAdapter -


i want sync com.android.contacts , com.android.calendar 1 syncadapter. possible?

if yes, how have edit following lines?

<sync-adapter     xmlns:android="http://schemas.android.com/apk/res/android"     android:contentauthority="com.android.contacts"     android:accounttype="com.package.account"     android:supportsuploading="false"     android:uservisible="true" /> 

appearently not:

"each syncadapter spins syncthread bound authority defined in sync-adapter.xml, , multiple authorities cannot defined in xml file..."

(kianatennyson)

how use 1 syncadapter-class multiple authorities?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -