Hi,
Is it possible to share an authentication service for different
accounts (and also share the service's intent action for
authentication). Can the account-authenticator  tag be used only once
in the associated xml resource?

For example - the second <account-authenticator... />  here is junk
<?xml version="1.0" encoding="UTF-8"?>
<account-authenticator xmlns:android="http://schemas.android.com/apk/
res/android"
    android:accountType="com.sf.sf3"
    android:icon="@drawable/icon"
    android:smallIcon="@drawable/icon"
    android:label="@string/label"
    android:accountPreferences="@xml/account_preferences"
/>
<account-authenticator xmlns:android="http://schemas.android.com/apk/
res/android"
    android:accountType="com.sf.sf3.recorder"
    android:icon="@drawable/icon"
    android:smallIcon="@drawable/icon"
    android:label="@string/label"
    android:accountPreferences="@xml/account_preferences"
/>

In a nutshell - do I have to write a service, authenticator and
authenticator activity(+ related xml) for each account I authenticate
even if these are managed in the same app? This came up in the context
of writing a syncadapter for data to be consumed within the same
package but off a different account type.

                            Alex

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to