I want to add a contact in Address Book of iPhone programmatically and want to make it favorite such that it will be display in favorite list of native contact app. Also can an already existing number be added to favorite list programmatically?
That is not available to developers, as I found out the hard way
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/
I want to show particular note about incoming number on call screen of an iPhone.
E.g. I have Jane as a contact saved in my Contacts on an iPhone. I also have a note associated with that Jane's contact, let's say that note is "Dentist".
Now If I get call from Jane I should be able to see "Dentist" on call screen.
I am currently using PhoneGap framework.
I have been searching for it but had no luck.
This is not possible on non-jailbroken iPhone. But you can achieve it in some other way like how the sticky notes apps are working,
Ask the user to create a note
Generate a image from the user designed note(using code)
Finally ask the user to assign the image to the contact.
No, you have no way influence how contact is displayed in phone call at not jailbroken iPhone. Information is taken from address book only.
I just want the all contacts list in my application, in NSArray or NSDictionary object or in any other form. My intense is that my application do also have its own contacts. Now I want to show my application's contact and native contacts in my application's phone book. So I just want the list of native contacts in some way so that I can show it along with my application's contact list. Thanks in advance........
Apple has a programming guide for the address book framework that should give all the information you need:
Address Book Programming Guide for iOS
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
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