ContentValues personValues = new ContentValues();
personValues.put(Contacts.People.NAME, "Some Body");
Uri personUri = Contacts.People.createPersonInMyContactsGroup
(curContext().getContentResolver(), personValues);
when i put this in the eclipse i have the following errors:
Description Resource
Syntax error on token "(", < expected
Syntax error on tokens, TypeArgument1 expected instead
What i'm doing wrong? do i have to declare something else before?
Is there any guide explaining how to change from 1.x to 2.x the
contacts code?
--
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