Open VCF file on my application, rather than in Address Book - iphone

I am creating an Address Book application. If I have a VCF format, is it possible to be viewed/added in my address book and not on the default address book of iphone? like having an "open in.. other application" option?
Thanks in advance!

Related

Save a contact after app launch

I don't know if this is possible.
I want to save a number after launching the app in the first view(Of course prompting the user).
This will be used when sending a message directly from the app.
Anyone tried doing this?
I believe you can do this by utilizing the Address Book UI framework in conjunction with the Address Book framework. The Address Book UI framework facilitates the displaying, editing, selecting, and creating of records in the Address Book database, and uses the Address Book framework in the background.
So in your case, you'd launch the Address Book UI on startup.
Hope this helps!

how to save home address programmatically in iphone addressbook?

how to save home address "add new address" in iphone addressbook by programming, not interface?
You need to an ABAddressBookRef. Read the following documentation, it shows you exactly how to do what you want: http://developer.apple.com/library/ios/#documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/Chapters/BasicObjects.html%23//apple_ref/doc/uid/TP40007744-CH3-SW1
Have you read this section of the Address Book Framework Programming Guide?

How to add a contacts to contact book in own program?

I want to ask a question about the iPhone application. The application can let the user to enter the information in a costumed table (not the contacts book). After that, the program will use the retrieved data to add to the address book. But I don't how to add the content to contacts book. Can any one help me? Thank you very much.
The framework you are looking for is the AddressBook framework, and the guide within the SDK is called "Address Book Programming Guide for iPhone OS"
The method that does this is called ABAddressBookAddRecord

setting the default applications for a file type in iphone

Hai all,
In my iphone application i want to open a my custom application(available in the iphone) when the user tapes on a particular type file sent by email or MMS ,
for example, if i sent an music file (via email or MMS) with a custom extension (for eg: .muc) i want to open my application (lets say myMusicPlayer) to play that file,
is there any way to do that in iphone ?
thanks in advance
There is currently no way to do this exactly. The only way to open an application is using a URL scheme assigned to your app via the Info.plist file but you wouldn't be able to send the local file system location of your file to it.

iPhone Address Book custom property

I am developing an application which is similar to native contact book app of iphone. I want to add additional property/field in native iphone address book database. e.g. network carrier of each contact (AT&T).
How to access the database of native address book from our app? Is that possible to do?
You cannot add custom fields. You can add data into the Notes field, but not add any custom fields into the AddressBook Person class. You can extend the AddressBook but you will need to save the data somewhere else and link the Person to the data you saved.
You can access the data from the address book using the AddressBook framework.
addPropertiesAndTypes is only available on Mac OS