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
0
votes
1 answer

iOS6 Add some additional information to ABAdressbook

I need to know if card of current person in address book was changed from my application. My best idea to accomplish this is to save some data or property inside ABAddressbook. How can I save some additional data in iOS 6 in a person's card?
Anton
  • 129
  • 2
  • 15
0
votes
1 answer

How to know, when this block completes execution

I am trying to access ABAddressBook properties of a person based on recordID, but each time, I try to get a property, I get a null value. This is the code I have tried. ABAddressBookRef addressBook = NULL; addressBook =…
Xavi Valero
  • 2,047
  • 7
  • 42
  • 80
0
votes
1 answer

Applescript for Contacts: how to process only addresses from local contacts and skip addresses from Facebook?

On the Mac, when using integration with Facebook, Contacts (Address Book) shows Facebook contacts as well as local/iCloud contacts. In the Groups view (Cmd-1) it is possible to view All Contacts, or only iCloud, or only Facebook contacts. I have…
wivku
  • 2,457
  • 2
  • 33
  • 42
0
votes
1 answer

EXC_BAD_ACESS on importing a vcf vcard file

I am retrieving vcard data from a vcf file from the app documents directory into a String. The string is fine but ABPersonCreatePeopleInSourceWithVCardRepresentation throws BAD_ACCESS error. Heres the code... ABRecordRef defaultSource =…
Akash Malhotra
  • 1,106
  • 1
  • 17
  • 30
0
votes
1 answer

Timestamp at which a contact is created

Is there any way to get the timestamp when the contact is created/added . I want to sort contact list time wise in which order they are stored
Anurag Kabra
  • 444
  • 1
  • 5
  • 18
0
votes
1 answer

Unable to add contact to specific group via ABGroupAddMemeber?

I am learning iPhone programming, I am trying to add contacts to specific group. I have an array of all contacts and I want to add selected contact to group. Here is my code : for (int i = 0; i < [array count]; i++) { …
user2169470
  • 33
  • 1
  • 3
0
votes
2 answers

Cant fetch contacts from iPhone

I have tried to fetch all the emails saved in contacts,I am able to fetch th eemails in ipod,But when i test on iphone it shows the arrays are null.But there are contacts in my iphone why this happens ? -(IBAction)contactfriends:(id)sender { …
user2000452
0
votes
0 answers

Accessing AddressBook in iOS6

I am currently accessing the user's contacts/address book. When i compile the program through xcode and launch the iPhone simulator, their is data.... because I went into the iPhone simulator contacts app and added them myself to see if the app can…
jsetting32
  • 1,632
  • 2
  • 20
  • 45
0
votes
1 answer

How to get iOS AddressBook contact's facebook-synced photo?

I want to get a contact's image from iOS AddressBook with: NSData *contactImageData = ABPersonCopyImageData(person); This works fine for local images but not for images synced with Facebook. How can I get these images? Do I have to load them…
Dennis
  • 362
  • 4
  • 13
0
votes
0 answers

Get people from specific ABAddressBook group in MonoTouch

Using MonoTouch on IOS6, how do I get my address book contacts which were created in iPhone only (excluding contacts from other groups such as Facebook)? I'm using the following code, however, it seems to return people from every group. The results…
0
votes
1 answer

What is the ideal approach to get the duplicate phone numbers in iphone - MonoTouch

I'm trying to get the duplicate phone numbers on iPhone address book . my problem that it's really taking time i have like 264 contact on my iPhone and the process taking like 16 sec !!! i have purchased app from iTunes doing same process taking…
0
votes
1 answer

Improve performance when getting duplicate phone numbers in ABAddressBook

I'm working on iPhone APP that getting the duplicate phone Numbers i already made the code but the performance is so bad and taking time .here's my code: OrderedDictionary persons = new OrderedDictionary (); ABAddressBook ab = new…
0
votes
2 answers

How to get the duplicate phone numbers in ABAddressBook MonoTouch

i'm working on application that getting the duplicate contacts that has same phone number . my problem is that the regular foreach is slow with large amount of contacts , i know also that the there's away to do it using predicate . but i couldn't…
0
votes
1 answer

Address Book: custom phone number labels when Exchange set up

I have an app with partial copying of native Contacts app functionality. Then, I meet such bug: on some devices, I create new contact, add phone number with kABPersonPhoneIPhoneLabel, save it and read later, the number has no label! When…
Dmitry Salnikov
  • 337
  • 5
  • 16
0
votes
1 answer

ABRecordCopyValue return 0 ?

What I trying to do, is get all contacts and relies if the contact have SocialProfileProperty or not, after get all this contacts that have SocialProfileProperty I will make simple filtration to know if it is Facebook,Twitter,.. Before I post this…
Omarj
  • 1,151
  • 2
  • 16
  • 43