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
7
votes
4 answers

Translating android phone number label id to string

Hi Im writing a small android app that is closely working whit phone labels but I don't understand how I'm suposed to translate the uri values described in the Documentation. What i want to do is to translate TYPE_HOME To Home and so on. My current…
KilledKenny
  • 385
  • 4
  • 19
7
votes
4 answers

Filtering out email addresses from ABPeoplePickerNavigationController

I'm using ABPeoplePicker to show a list of contacts. I'd like to filter this list of contacts to only show the contacts that have email addresses. How would I do so?
smtlaissezfaire
  • 437
  • 2
  • 7
  • 18
7
votes
1 answer

CNPropertyNotFetchedException App Crashed

i want to get the all contacts list of phone with their name as well as phone numbers in swift 3.0 and xcode 8.0. below is the code func get_all_user_contacts() { let status = CNContactStore.authorizationStatus(for: .contacts) if status ==…
Alpha
  • 167
  • 1
  • 13
7
votes
1 answer

iphone addressbook - getting null item in ABAddressBookGetPersonWithRecordID

I'm really struggling with ABAddressBookGetPersonWithRecordID at the moment. I am saving an ID, and then trying to call it back up again. Currently im doing something simple to test the linking, but its not working. First, I can read objects from my…
oberbaum
  • 2,451
  • 7
  • 36
  • 52
7
votes
1 answer

Address Book thread safety and performance

My sense from the Address Book documentation and my understanding of the underlying CoreData implementation suggests that Address Book should be thread safe, and making queries from multiple threads should pose no problems. But I'm having trouble…
Rob Napier
  • 286,113
  • 34
  • 456
  • 610
6
votes
1 answer

iOS: Use CNPostalAddressFormatter to show contact addresses with proper delimiter (e.g., comma) between sections

The Apple documentation suggests using CNPostalAddressFormatter to display addresses as a formatted string, which helps immensely with internationalization. This code: let postalString = CNPostalAddressFormatter.string(from: postalAddress.value,…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
6
votes
2 answers

Add to Contacts like Add to Calendar button/ html/ Ajax option

I would like to develop a "Add to contacts" button for a webpage, much like the "add to calendar - Google, ICal, Outlook" type buttons that you see on webinar and event pages like this one. I started investigating Google Contacts, as I use that. I…
Craig Lambie
  • 2,888
  • 2
  • 14
  • 17
6
votes
4 answers

Search ABAddressbook iOS SDK

I want to search the iPhone address book for a specific phone number, and then retrieve the contact name. I am currently looping through all contacts and extracting the multivalue properties and comparing against the value. This is taking way too…
Rabih
  • 61
  • 1
  • 1
  • 2
6
votes
3 answers

AddressBook Crash, only with some contacts

My app crashes, it is a problem that arises from the AddressBook API, it only happens with some contacts. Here is the log: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000102, 0x316ebd38 Crashed Thread: 0 Thread 0 Crashed: 0 …
Zebs
  • 5,378
  • 2
  • 35
  • 49
6
votes
1 answer

custom behaviour to iphone addressbook ui controller

is there any way to customize the ABPeoplePickerNavigationController and let user select multiple contacts without going into details? I can push contacts into an array as user selects them but there's no way to give visual feedback back to user…
6
votes
3 answers

How to add a contact from my app to the iOS address book

I would like to add the ability to save a contact (phone number, name, address and email) in the iOS address book by clicking on a button in my application! How can I do this?
Claudio
  • 173
  • 1
  • 2
  • 12
6
votes
1 answer

How to add a "Custom Label" to iOS AddressBook programmatically?

When manually adding a contact's phone / IMS in the iOS AddressBook, you can add a Custom Label instead of "Home", "Work", "Other" * (in IMS). How to create "Custom Label" in AddressBook programmatically?
Paul V
  • 65
  • 1
  • 5
6
votes
1 answer

Adding and Saving New Contact to AddressBook

I have a problem that I can't quite seem to solve even though I've used resources I've found on Google and on here. I've only started being taught Swift and how to use Xcode about a month ago, hence, I'm very new, and the problem I have is probably…
Gee Storey
  • 63
  • 4
6
votes
4 answers

how to display CFStringType? Like kABHomeLabel

I know that NSString and CFString are toll-bridge, they can convert in such a way. CFStringRef cfStr; NSString* anStr=(NSString*)cfStr; however,when I convert string in such a case when dealing addressbook NSString*…
xiaozi
  • 61
  • 1
  • 2
6
votes
2 answers

How can I set a ringtone for an individual contact on Android?

How can I apply a ringtone to only the selected contact? I have found a way to set the default ringtone that applies to all contacts, but that is not my goal. I want an application to have a button ("Apply ringtone to contact") that, when clicked,…
Vidar Vestnes
  • 42,644
  • 28
  • 86
  • 100