[android-developers] Re: how to add picture into android Content Provider
I don't know if you still need it, but it should look like this: ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContrac t.Data.CONTENT_URI) .withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex)
[android-developers] Re: how to add picture into android Content Provider
ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContrac t.Data.CONTENT_URI) .withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex) .withValue(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE)