Hi guys,

Based on the SampleSyncAdapter provided in the Android API
documentation, I have developed an AccountAuthenticator and
SyncAdapter that allows people to initially sign-in to a web-based
account and then regularly sync their contacts list from the server to
their phone.

Now, this is all good and works fine, but there is a little section
that I have been unable to find any information on - I suspect that
this may be because of the specifics of the Samsung Galaxy S phone I'm
testing on (Android 2.2). Any clarification on this would be great
too.

When my contacts from the server are synced to my phone, they
correctly join together based on first name, last name, etc. If I
scroll down on one of these contacts to where it lists all the joined
contacts, I can see a little blue "F" icon for the facebook account, a
black "G" for the google account, etc, however my custom sync appears
as a 'generic' green icon (green background with a white upper-body
sillouette on it).

If I click on this Joined Contacts section, it lists all the accounts,
where Google is called "Google", Facebook is called "Facebook", and my
custon sync is called "Unknown".

When I defined my application, I have specified icons and titles for
the sync adapter, account authenticator, and so forth. There icons and
titles are all displayed correctly when I try to create an account
through the "Accounts and Sync" menu in the settings. ie, my account-
authenticator XML file is defined with the following values, which are
used correctly...
    android:icon="@drawable/icon"
    android:smallIcon="@drawable/small_icon"
    android:label="@string/sync_name"

My question is, where are the "green icon" and the associated title
defined for my application. Its obvious that I'm overlooking
something, as it detects it as a "unknown" type against the contact. I
suspect that it may be something that I need to set on the Account
itself somewhere, or possibly its specific to the Samsung Galaxy S?

Any help would be appreciated.

Thanks,
Michael.

-- 
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

Reply via email to