I'm writing an application that exports and imports contacts,
including contact photos. To import contact photos, I use the
Contacts.People.setPhotoData method. Importing a new contact with a
photo works perfectly. However, the following sequence of actions
causes a problem:

1. Import a new contact with a photo.
2. Delete the contact
3. Re-import the contact with the photo. The photo is not imported the
second time (or any subsequent time).

Once this occurs, even the stock Contacts application cannot be used
to change the contact photo for this contact (it lets you choose a new
icon, but the icon is not saved).

I think this may have something to do with the contact id; If a
contact is re-imported, my application attempts to give it the same
id.

Is this a known bug? Is there something I'm doing wrong?

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