addressbook

Cocoa Touch Address Book Framework Problems

I'm trying to retrieve data from an iPhone address book using objective-c/cocoa touch. However, I am getting this error when building: ".objc_class_name_ABPeoplePickerNavigationController", referenced from: literal-pointer@_OBJC@_cls_refs@ABPeoplePickerNavigationController in InviteController.o ld: symbol(s) not found I have already a...

How can I make Mac OS X Address Book display a person's home address from an LDAP server?

Hi, I have a custom LDAP server, which I can customize to generate whichever object class and attributes I need. I'm trying to display people from that server in the Mac OS X address book. Names and organizations display correctly, as well as work-related phone and address. However, I've never been able to have a home address displayed...

Address Book contacts in Core Data

What’s considered ‘best practice’ when saving Address Book contacts in Core Data? I’m writing an iPhone App, based on Core Data, where I need to save and recall Address Book contacts as part of the data model. In the UI I plan to present a screen where the user can pick a contact from the current Address Book, create a new contact to s...

Blackberry - How to get Category of BlackBerryContact?

I have not found any fields in JDK 5.0.0 for getting Category of BlackBerryContact. If there are any alternative way for getting Category of BlackBerryContact then please suggest.... ...

iPhone ABPeoplePickerNavigationController - How to select two single entries of two different multivalue properties of a person from Addressbook

Hello everyone! I'm near desperation as I search for a solution for weeks now. The Problem is simple: Via the ABPeoplePickerNavigationController (as a ModalView), a person should be selected. Then only (e.g.) the Mail addresses should be shown and the user should select one. After selection of a Mail address just the (e.g.) phone nu...

address book problem with some device

hello guys, In my app,I try to save the contacts to the address book: here is the code: ABRecordRef aRecord=ABPersonCreate(); ABRecordSetValue(aRecord,kABPersonNicknameProperty,(NSString*)nickName,&anError); ABAddressBookRef addressBook=ABAddressBookCreate(); if(!ABAddressBookAddRecord(addressBook, aRecord, &anError)) { //pop up an a...

Adding Contacts to Address Book(IPhone) from VCard

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

iphone ABNewPersonViewController seems to not be responding to delegate

Hi guys I'm halfway through implementing a very basic 'Add Contact' Button. I am calling the 'Add View' using the code (via a linked UIButton, that works) : - (IBAction)showAddContact { NSLog(@"Hit showAddContact"); ABNewPersonViewController *newPersonViewController = [[ABNewPersonViewController alloc] init]; addContactNavControll...

iPhone multi-threaded AddressBook manipulation

Hi, I have been using the AddressBook api of the iPhone for some time now. But doing some refactoring to improve application performance I have decided to "reuse" the ABAddressBookRef returned by AddressBookCreate because I noticed there are large performance improvements doing that. However, I am getting EXEC_BAD_ACCESS errors now ra...

iPhone AddressBook Timestamps?

Hi, I want to know when certain Contacts haven been updated or created. Or at least to know when the Addressbook has been updated the last time. Does the Addressbook provide timestamps or is there some workaround? Thx ...

How to add a contact from within an app?

Hey everyone, I am looking to keep track of people in my iPhone app - either adding them from existing contact data, or prompting the user to enter a new contact which will be saved to their Contacts. I know I can create a persons record add write it to the Contact book, is it possible to display this screen? Or do I have to implement ...

Implementing Autocompletion in iPhone UITextField for contacts in address book

Hi, I would like to have a UITextField or UITextView in where as I do some input, alternatives will appear something similar to when you type an address in Mail Application, alternatives appear down and is possible tap them so get a better input user interface.(since there is no need to type the complete word or address or phone number) ...

How can I access the iPhone favorite numbers using Objective C?

Hi! I am writing an application using Objective C and I want to access the iPhone favorites numbers (the ones that can be found in the "Phone" application). I've searched among the properties specific to each contact from the Address Book and I even had a look at the Address Book database, but I couldn't identify which property or field...

How to specify a group when displaying an ABPeoplePickerNavigationController

Does anyone know how to specify a group when initially displaying an ABPeoplePickerNavigationController (so it doesn't automatically display "All Contacts")? ...

How do I set an ABPeoplePickerNavigationController's prompt?

This is the code I'm using to call the people picker, but the prompt label text doesn't change: ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate = self; picker.displayedProperties = [NSArray arrayWithObjects: [NSNumber numberWithInt:kABPersonEmailProperty], nil];...

Address book APi

hi how an i get phone no of a given record using xcode i am able to get first name and last name using ABRecordRef *person_record = CFArrayGetValueAtIndex(people,i); NSString *first_name = ABRecordCopyValue(person_record,kABPersonFirstNameProperty); NSString *last_name = ABRecordCopyValue(person_record,kABPersonLastNameProp...

Address Book Groups - iPhone Simulator

Hi All, Is there a way to set up groups on the iPhone simulator? I want to set up a specific group on the iPhone and insert contacts into that group... I've presented the address book modally like in the tutorial but in trying to access groups, I've realised there's no option... Thanx Stef:-) ...

Return Selected Phone Address from iPhone Address Book

Hey, I found a tutorial online that extends that Apple QuickStart Application which is the basic Address Book Application and another that returns the first phone number regardless of what phone number was clicked. I want to display only the selected phone number in the label. The label is called phoneNumber: - (BOOL)peoplePickerNaviga...

Create a group(ABGroup) and add person record to the group programatically in iphone

Im creating a group using ABGroupCreate(), i have 10 person(ABPerson) records. Im using ABGroupAddMember function inorder to add the person to the group, but the person record is not getting added into the group. Yes im saving the addressbook. Am i missing something here, i need help this on. ...

Problem getting IM information from an ABRecord

Hello, I'm trying to get the IM account information from existing contacts (adressbook) on iPhone. I walk through the contacts and I get the contacts which have an entry in IM but I can't read the jabber-address. abArray = (NSArray *)ABAddressBookCopyArrayOfAllPeople(ABAddressBookCreate()); for(int i=0 ; i<[abArray count];i++) { ABRe...