Why Android don't find my sync adapter when i call :
ContentResolver.setSyncAutomatically(account,
"com.stevegrosbois.budget.provider", true);
I have searched for hours !
In the Logcat :
DEBUG/SyncManager(59): can't find a sync adapter for SyncAdapterType
Key {name=com.stevegrosbois.budget.provider,
type=com.stevegrosbois.budget.user}, removing settings for it
In my AndroidManifest.xml :
<service android:name=".sync.SyncService" android:exported="true">
<intent-filter>
<action android:name="android.content.SyncAdapter" />
</intent-filter>
<meta-data android:name="android.content.SyncAdapter"
android:resource="@xml/syncadapter" />
</service>
syncadapter.xml :
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/
android"
contentAuthority="com.stevegrosbois.budget.provider"
accountType="com.stevegrosbois.budget.user"
android:supportsUploading="true"
android:userVisible="true"
/>
I have tried everything
And now i'm crying :'(
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en