views:

92

answers:

2

Hi,

I set up an account manager for my application which syncs contacts from my cloud service to the device. The account shows up under Accounts & Sync along with other such accounts (Google, FB, ...). After logged in it syncs web contacts to your device. The contacts are linked to that account. They are added using batch operations using the example from the android developer webpage.

The problem I'm facing is that once synced the contacts can be edited, but the user can edit only the name (I'm transferring email and phone numbers too). The syncadapter has the property

android:supportsUploading="true"

enabled, but it only allows editing of the name. If the property is set to false the contact cannot be edited at all.

I would really appreciate some help, since it's been bugging me for days now.

+2  A: 

Ok,

so to answer my own question. You can't. You can only edit name and photo if a contact is not a Google or Exchange contact.

Bostjan
A: 

im looking at the same problem, and decided to create our own custom activity to add fields. So you did not find out how to really make it work?

mikedroid
No, I went and created my custom activity as well. Too bad this isn't handled in a different manner.
Bostjan