Possible Duplicate:
How can I programmatically add a contact?
With the help of a Google search I was able to add a Contact in my Android Application. While this works, I am not able to see that added Contact in the phone Contact List (Phonebook).
Could you help me fix this? I don’t know where to look, is it perhaps a versioning problem? I would be grateful if anyone who has encountered this problem would care to help me out.
I have followed this example in setting up my code.
Insert a new contact into your phone book with the following method:
Usage:
int book_id = insert("Doe", "John", "111-222-333", "content://com.my.package/drawable/photo");book_idis the row id of your entry.