Questions tagged [addressbook]

An address book or a name and address book (NAB) is a book or a database used for storing entries called contacts.

An address book or a name and address book (NAB) is a book or a database used for storing entries called contacts. Each contact entry usually consists of a few standard fields (for example: first name, last name, company name, address, telephone number, e-mail address, fax number, mobile phone number). Most such systems store the details in alphabetical order of people's names, although in paper-based address books entries can easily end up out of order as the owner inserts details of more individuals or as people move. Many address books use small ring binders that allow adding, removing and shuffling of pages to make room.

Source

926 questions
17
votes
3 answers

Get image of a person from iPhone address book

How do you get a person's image from an iPhone address book?
Madhup Singh Yadav
  • 8,110
  • 7
  • 51
  • 84
16
votes
10 answers

How to get formatted address NSString from AddressDictionary?

Trying to get formatted address from AddressDictionary, that I got from CLGeocoder. Used following code with no result: subtitle = [NSString stringWithString:[[addressDict objectForKey:@"FormattedAddressLines"]objectAtIndex:0]]; Also…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
15
votes
1 answer

How to retrieve address book contacts with Swift?

I don't understand why my code doesn't compile with Swift. I am trying to convert this Objective-C code: CFErrorRef error = NULL; ABAddressBookRef addressBook = ABAddressBookCreateWithOptions(NULL, &error); if (addressBook != nil) { …
user1545810
  • 217
  • 1
  • 2
  • 8
15
votes
2 answers

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…
creednmd
  • 2,001
  • 2
  • 18
  • 25
14
votes
4 answers

Getting favourites contacts in Android

I am trying to get all contacts in the favourites list of the Android contacts. Currently, I can get all the group ids including the favourite group ID. But it seems that there is no contacts that have the group ID as the favourite group ID. I'm…
vodkhang
  • 18,639
  • 11
  • 76
  • 110
14
votes
3 answers

Generate vCard from AddressBook.framework

I'm utilising the AddressBook.framework in my iPhone app, and I'd like to replicate something along the lines of the share feature in Contacts.app. This basically attach's a specific contacts vCard to an email. As far as I know, there is nothing in…
Oliver
  • 1,279
  • 5
  • 14
  • 20
14
votes
3 answers

Can't Access Contacts Sources on Device in iOS 6

This code worked OK on iOS 5.1 and also does work in the iPhone simulator with iOS 6. It fails silently on my iPhone 4 running iOS 6. The end result is that I cannot add a person to the Contacts app. Neither of the following code snippets work…
Cliff Harris
  • 754
  • 2
  • 7
  • 9
13
votes
1 answer

Is there a way to get Address Book contact ID's from Sync Services contact ID's?

When getting the modified contacts from Sync Services, through the applyChange:forEntityName:remappedRecordIdentifier:formattedRecord:error method. The IDs in the address book are of the form 2C13E20E-6B24-4090-81FA-7A1E8B28119B, and even though…
Alex
  • 7,432
  • 20
  • 75
  • 118
13
votes
1 answer

iOS7 - ABPersonViewController, editing mode

Apple features a nice comprehensive and small example, "QuickContacts" (developer.apple.com/library/IOs/samplecode/QuickContacts/Introduction/Intro.html), outlining the basic usage of the Address Book UI Framework. - The downloadable sourcecode…
user2831473
  • 168
  • 2
  • 10
13
votes
7 answers

"Attempt to insert row 0 into section 0, but there are only 0 rows in section 0 after the update" Error

I have an app that is selecting a person from their contacts list and takes their First name, last name and email. It then saves the first name to a nsmutablearray and puts it into a uitableview cell. My problem occurs once the contact is selected…
Dan Grueneberg
  • 215
  • 1
  • 4
  • 9
12
votes
3 answers

Find Favorite contacts from the iOS Address Book API

Is there a way to find Favorite contacts from the iOS Address Book API? I'm referring to the contacts a user places in his Favorites tab in the Contacts app.
haider
  • 2,418
  • 3
  • 24
  • 26
12
votes
2 answers

localising postal / physical address display from database fields

Can anyone point me to a list of international postal / residential / delivery address format templates that use some kind of parseable standard vocabulary for address parts? The ideal list contains a country code then a format using replaceable…
Steve
  • 3,601
  • 4
  • 34
  • 41
12
votes
2 answers

Ask for permission to allow access to Contacts iOS

I am importing all the native address book contacts into my app. Currently, the alertview to ask for permission to 'allow access to the Contacts' is done at the launch of the app. How do I change it so permission is asked elsewhere in the app? At…
Hassan
  • 183
  • 1
  • 2
  • 7
12
votes
1 answer

How to split a delimited NSString into NSArray

I have a little problem when I try to split delimited string into an Array. Basically, I want to pass result from MECARD QRCode and add new entry to addressBook. Here is my code (for "FirstName" field only) : : NSLog(@"found…
iNico3D
  • 121
  • 1
  • 1
  • 4
12
votes
2 answers

Get image contact in address book on iOS

I'm new using the Address book and I would try to get some info for the contacts in the phone. Is possible get the image contact of all the contacts? This will be for iOS4 or higher. Thanks in advance!
lightless07
  • 401
  • 6
  • 17
1
2
3
61 62