I want to ask an question about the objective C iPhone application. In my application, I would like to retrieve the content of the (e,g name, phone, email address) in to my application. But I have no idea about what I need to do? Can anyone provide some information, library or link for my to study? Thank you very much.
You have to import the AddressBook.framework and/or the AddressBookUI.framework. See the Address Book Programming Guide for assistance. With these frameworks imported you can display an ABPeoplePickerNavigationController to retrieve an contact object for example.
Hope that helps
–f
Related
I am developing an apps where i am getting some information regarding contacts example
Name:xyz
Phone number:1234556677
So how do i store this information directly into addressBook of an iphone.
NOTE:I dont want the page to navigate to address book and add manually.What i need is i have already have information available like name and phone number. i have a button, click on button directly it should be stored into address book.
i am stuck in this from past couple of days can anyone help me in solving this.
I have gone though many links but all those take me to add contact.What i really need is to store the information which is already available to me into addressbook.
iPhone : Insert Contact to Address book without any User Interface
This is another user having the same problem.. found this within 1 minute (third link if you google for "iOS add contact")
Here is a tutorial which might be helpful to you.
http://www.modelmetrics.com/tomgersic/iphone-programming-adding-a-contact-to-the-iphone-address-book/
How do I display a person (AdressBookUI framework) in my iPhone app. I already have an ABRecordRef for the person, but I just need to display them.
Also, I'd like to only display their name, their picture, and their phone numbers. How do I do that?
Thanks!!
I used the tutorial here to help me figure out the basics
http://blog.slaunchaman.com/2009/01/21/cocoa-touch-tutorial-extract-address-book-address-values-on-iphone-os/
I want to make group of some people from my contacts and then i want to send message to them. So how can i do this ?? and i dont have any idea about this so can anyone give me with deatil !!!!!
Or How can i add contact information from my app to iphone address book ???
Thanks in advance.
Start by looking at the Address Book Programming Guide to learn how to use the Address Book framework.
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
By using IPhone SDK (on a jail broken iPhone), how can I share a contact (.vcf file) through mail as same as the address book is doing?
Regards,
Prathap.
Have you looked at the Address Book Framework reference? It allows you to fetch records from the Address Book database. You may have to put this data in vCard format yourself, I don't know if the framework provides this functionality for you.
Yes, you can do this on the iPhone:
ABAddressBookRef addressBook = CFAutorelease(ABAddressBookCreate());
NSArray* contacts = (NSArray*)ABAddressBookCopyArrayOfAllPeople(addressBook);
Erica Sadun's ABContactHelper classes come in mighty handy if you want to mess around with the Address Book interface.