Questions tagged [abaddressbook]

The ABAddressBook opaque type provides a programming interface to the Address Book — a centralized database used by multiple applications to store personal information about people. Available on iOS 2.0 or above , and Mac OS X

The ABAddressBook opaque type (whose instances are known as address books) provides a programming interface to the Address Book—a centralized database used by multiple applications to store personal information about people. The Address Book database also supports the notion of a “group” containing one or more persons. People may belong to multiple groups, and groups may also belong to other groups.

The ABAddressBook opaque type provides functions for creating references to the Address Book database, saving changes, discarding changes, and registering for changes made externally (by other threads or processes) to the database.

812 questions
2
votes
1 answer

How to edit a contact from Address book in iphone?

I create one new application.i add the contact from address book see the code below but how to edit this add contact from address book i don't know . can any one have know then give the sample code or idea. thanx in advance give your valuable time…
Dev
  • 390
  • 2
  • 11
2
votes
1 answer

ABMultiValueIdentifier was not set correctly in ABPeoplePickerNavigationControllerDelegate, an iOS bug?

I hit this weird problem when implementing ABPeoplePickerNavigationControllerDelegate. So identifier sometime was got its value incorrectly in delegate method - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
2
votes
1 answer

ABAddressBook - Read contact from all source (Mail yahoo, Hotmail, ecc..) in iOS

how I can read from my addressbook all contacts in different source type in email ? Now I able to read only local contacts with all group, but in my iPhone if go into Contacts find more different group (All contacts, All from Mac, iCloud, All Yahoo,…
Placebo
  • 31
  • 6
2
votes
2 answers

Issue calling ABAddressBookGetPersonWithRecordID

Has anyone had issues with this code... ABRecordRef person = ABAddressBookGetPersonWithRecordID (addressBook,recordID); I have had major issues with this so far. I have previously posted this question Intermittent error accessing core data model /…
Ben Thompson
  • 4,743
  • 7
  • 35
  • 52
2
votes
4 answers

get image from address book and stored it to NSmutablearray but while showing it gives `EXCBAD Error` in iphone sdk?

hi i am creating custom address book in this i want to get only this users who have email address all things work perfectly but when i try to show image in tableview it gives me EXCBAD Error. i have code like this ABAddressBookRef…
Hrushikesh Betai
  • 2,227
  • 5
  • 33
  • 63
1
vote
0 answers

Using an ABRecordRef @property triggers EXC_BAD_ACCESS

I'm trying to implement some code that writes to a contact using code from this Address Book guide. I've declared a property in my ViewController.h: @property ABRecordRef mABRecordRef; Then I retrieve a record: -…
user655321
  • 1,572
  • 2
  • 16
  • 33
1
vote
1 answer

Setting user display picture

Is it possible to set the users display picture with Cocoa? I can get the image from ABAddressBook but I don't know a way of setting it?
James
  • 5,137
  • 5
  • 40
  • 80
1
vote
1 answer

How to use ABPeoplePickerNavigationController on clients in core data stack

I have a core data stack which contains an entity called 'Client'. Each client has a 'addressBookID' property which refers to the uniqueID of the person record in the AddressBook. I am currently using a fetchedResultsController to populate the…
Ben Thompson
  • 4,743
  • 7
  • 35
  • 52
1
vote
1 answer

ABAddressBook change default sort ordering

Is it possible to change sort ordering and composite name format in iPhone address book with code? There are methods to get these properties (ABPersonGetSortOrdering, ABPersonGetCompositeNameFormat) but I didn't find any for setting them.
Bartek
  • 1,986
  • 1
  • 14
  • 21
1
vote
2 answers

Alternative Address Book API helper to ABContact

I have an Iphone app that used the excellent ABContactHelper library origionally written for by Erica Sedun and released on github Now with the release of XCode4 and Reference Counting support, it causes lots of errors. I have looked at the forks…
Toby Allen
  • 10,997
  • 11
  • 73
  • 124
1
vote
2 answers

How to get the groups that a contact belongs to?

How can I get a an array of parent ABGroups for an ABPerson in MonoTouch?
Martin Wiboe
  • 2,119
  • 2
  • 28
  • 50
1
vote
1 answer

Adding a record to Address book

How can I add a new record to address book without using ABPeoplePickerNavigationController ?
Soni
  • 454
  • 8
  • 23
1
vote
0 answers

ABPersonSetImageData works fine but contact's photo doesn't sync with Google

I've develop an App which set an image to my contact. It's working fine, my contact has the correct image in the iPhone AddressBook App. I sync my AddressBook with Google and my contact's image doesn't sync with Google. Why?? If I set an image…
1
vote
1 answer

iphone jailbroken development with public API

I have an app that is using the ABAdressBook API & NSFileManager. When i'm running the application from the command line - the API doesn't seems to retrieve the AddressBook/NSFileManager information - but when i run it from the springboard - it…
Itay Levin
  • 1,579
  • 2
  • 16
  • 23
1
vote
1 answer

iPhone - address book search crash

Some of our app store users are reporting a crash while searching their address book. I'm pretty lost here cause I can't reproduce this issue. Is there anything wrong with how I'm querying the address book ? Thanks!! + (NSDictionary *)…
Idan
  • 5,717
  • 10
  • 47
  • 84