是否可以为多个帐户类型拥有同步适配器? (如com.google和com.facebook.auth.login)适用于多个帐户类型的同步适配器
看来syncadapter.xml只接受像一个单一的值:
<?xml version="1.0" encoding="utf-8"?>
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
android:contentAuthority="com.foo"
android:accountType="com.google"
android:supportsUploading="true"
android:userVisible="true" />
我希望有适合我的用户喜欢几个帐户选项谷歌,脸谱和推特。
我没有明白。为什么你尝试使用几种账户类型?帐户类型与服务器地址无关。你能解释一下吗? – azad