addressbook

ABPersonViewController edit contact and navigate back

I am building on XCode SDK 3.1.3 for iPhone. I am subclassing ABPersonViewController and presenting it as a modal view when user taps on a contact name in my iphone app. User can edit the address or change the ringtone and add it to their contact list as a new contact or update an existing contact. MySubClassedPersonViewController *x ...

How to retrieve the address book content?

Hi, everyone, 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. ...

Mac OS address book format

Hi, I want to write an application to work with adress books. My first try is with the apple adress book. My problem is that I didn't found an specification for the format. I looked a bit about it and found some things out: The adress book is a package (so you can access it like a folder in the file system) In the subfolder Images/ ...

Extract entire addressbook from ABpeson objective c iPhone

This is my code: ABAddressBookRef _addressBookRef = ABAddressBookCreate (); NSArray* allPeople = (NSArray *)ABAddressBookCopyArrayOfAllPeople(_addressBookRef); NSMutableArray* _allItems = [[NSMutableArray alloc] initWithCapacity:[allPeople count]]; // capacity is only a rough guess, but better than nothing for (id record i...

Application crashes while adding photo adding new contact.

I am using ABNewPersonViewController to add new contact to the address book. Every thing is fine if I do not add any photo from photo albums. It crashes if I add any photo and here is the log:- NSInvalidArgumentException', reason: '*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: UIImagePickerControllerOriginal...

ABPersonSetImageData works if no image, does nothing if image exists

Hi all, I'm stuck and don't know what to do. The apple docs don't seem to cover this very well. My code: - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person{ NSDictionary *info = [self selectedProjectInfo]; ABAddressBookRef addressBook = ABA...

how to add a contact from my app to iphone address book

I would like to implement the ability to save a contact (phone number, name, address and email) in the iphone address book by clicking on a button in my application! How can I do this? ...

Filter / prioritize phone numbers on the iPhone

Is it anyway possible to tag certain phone numbers on your iPhone as high priority numbers, and then filter them out to perform some actions on them?.. e.g. allowing calls from these numbers to come through even when the ringer is off. Does Apple even provide the dev access to phone api's to allow this sort of work?.. Thanks.. ...

Where can I download and use the AddressBookUI.Framworks?

Hi, everyone, I want to write an application about the address book UI in iPhone. I found that there are a framework which is AddressBookUI. But where can I find this framework? Do I need to download or found form somewhere? Thank you. ...

How to retrieve the First Name and Last Name from the AddressBook?

Hi, everyone, I want to ask about the address book framework on iPhone application. I have import the framework and .h in my class. However, I don't know how to retrieve all of the First name and last name in the address book and store it in the NSMutableArray. what is the problems in my code? Thank you very much. NSArray *displayedIt...

Issue regarding retrieving all email id's from address book in iphone

I am newbie to Address book programming. I want to retrieve all email id's from address book.The issue is below code gets the all data for one record(one person). but When i add more than one contact in address book. it crushes without showing any exception. Any suggestions? Thanks in advance. self.pastUrls = [[NSMutableArray alloc]...

Is there a way to access an Address Book from Air API?

I wanted to sync my contacts with my CRM Application. my CRM Application gives me a nice API to develop to, but I need to read and write from my Address Book... Mac Address Book Outlook Address Book Outlook Express Address Book etc using AIR API, is there any way to access this? ...

open source address book importer

I plan to implement address book importer in my site so that users can invite their contacts. I am looking for a good open source script that would suffice my need. Yahoo, Gmail, Facebook and Hotmail address book is what i am targeting. Please suggest any software/script. ...

Is it possible to show this page in Addressbook with iPhone SDK?

I am trying to integrate the information in Addressbook into my iPhone application. Is there any way to push the view controller page into my current controller? Thank you. ...

kABPersonAddressProperty causes crashes under ABAddressBookGetPersonWithRecordID

I am trying to be an ABRecordRef that represents the contact info of a person from addressbook. I built two functions that calls a function to fill in a personal data structure with the info in ABRecordRef. Here comes the function declarations for the three functions: + (NSMutableArray*) getAllContactProfiles{ NSMutableArray *list...

How do I get a user's email address (with permission) on iPhone?

Typing on iPhone is tedious; I'd like to prompt my users for their email address without requiring them to actually type it. Ideally they'd receive a dialog saying: "This app would like to use your email address. Don't Allow / Allow" If the user tapped "Allow," it would auto-fill their email address (the one they have configured in Ma...

OS X Safari automatically convert selection to contact

I am relatively new to OS X. Is there a downloadable app or service which will allow me to select some text (address, phone number) from a web page or other text and automatically create a new contact in the address book? Thanks. ...

AddressBook API woes - NSInternalInconsistencyException

My situation is the following: We're creating an application that (among other things) shows data from the Public Folders in Exchange. We'd like our iPhone App to display contacts like the iPhone does it by default (like Apple's AddressBook app), therefore we're making use of the AddressBook API. However, we don't intend to save any dis...

Does the iPhone use the .vcf to store the address book data?

Hi, everyone, I want to ask a question about the iPhone address book. I am writing a program, it relates to the CardDav server and the .vcf file. I want to use the NSURLConnection to connect the server and download the .vcf. However, I am not sure that the iPhone can read and write the .vcf file or not. One thing I can sure that is th...

Where can I find an iPhone address book with sample data ?

I'm developing an application that get access to the iPhone address book. The simulator contains only a few sample entries. I'd like to find a sample address book with thousands of entries with various character set (English, Chinese, Arabic, etc) to fully test my app. Filling the address book myself will take for ever. Basically I need...