Adding Contacts to Address Book(IPhone) from VCard

I need to add a contact in AddressBook of IPhone from the VCard i am getting from the server. Is there a way to do it in IPhone or i need to parse the Vcard file and create the IPhone contact from it. and i also need to send the contact in form of Vcard to the server. Is there a Framework or Api that do it.

Answers


The address book api is a PITA... This should help you:

http://mrrask.wordpress.com/2009/01/18/add-entry-to-contacts-using-iphone-sdk/

For the official Apple doc, I am sure you are aware that Google can help, just search "iphone os address book api".

EDIT: Oops, I forgot to mention that you will have to parse the vcard file by yourself, no API for that in the iPhone OS. Check out the ccard project at Sourceforge.

-- Arnaud


Need Your Help

Separating MVC project into separate projects using WCF

asp.net asp.net-mvc wcf n-tier n-tier-architecture

I'm accustomed to structuring my CMS and client sites in two different areas of a single MVC project. This MVC project references an application layer (class library) that services both areas withi...

How do I use obtainStyledAttributes(int ) with internal Themes of Android

android android-xml android-resources android-styles

So I have looked around and found out that android.R.styleable is no longer part of the SDK even though it is still documented here: http://developer.android.com/reference/android/R.styleable.html

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.