Friday, April 29, 2011

[android-developers] Re: Update Contacts

Hi Ali

thanks for this blog. I already found it earlier :)

My code now looks like
String select = ContactsContract.Data.RAW_CONTACT_ID + "=? AND " +
ContactsContract.Data.MIMETYPE + " = ?";
String[] args = new String[]

Cursor crPeople =
null, select, args, null);

.withSelection(select, args)

The crPeople is just for a test und the person was found.
But when I call the update it get an error no such column mimetype...

Any ideas?

On 28 Apr., 21:21, Ali Chousein <> wrote:
> Hhhmmm, I'm not exactly sure what is wrong with your syntax. I have
> another blog which gives a full fledged example, in which "newUpdate"
> is used. I'm sure that, the example with "newUpdate" in that blog
> works. Maybe you may try to follow the syntax there. The address is:

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment