Hi, You can use People.addToMyContactsGroup to add a particular contact you want to be visible in the "My Contacts". e.g., People.addToMyContactsGroup(getContentResolver(), 16); where 16 is the _id of the contact to be visible .
Regards, Rishi Kaura On Jan 29, 2:45 pm, DarkJJ <[email protected]> wrote: > Hi all. > > I want to create anewcontactin the group "My Contacts", with name > and number phone like data. > > I only have seen this example that how must i do > this:http://code.google.com/intl/es-ES/android/devel/data/contentproviders... > > But in this example, thenewcontacts are added in the list > "Favorites" and i dont like this to my app. If i change the value of > SCARRED thecontactis or not is in this list. > > ¿How can iaddnewcontacts directly in "My Contacts" ?... i have > looked for information about this but i didnt find nothing to do , ¿is > posible this function? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

