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
0 answers

iOS - How to get device names sortening in system address book?

I would like to get which settings has user set in his device to set the same in my app. User can set "Sort Order" and "Display Order" as "First, Last" or "Last, First". Where can I access what user has set? I found that in ABAddressBook class there…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
0
votes
1 answer

Contact being removed from AddressBook after being Selected

I'm working on some integration between my application and the iPhone's AddressBook. Here is the flow of my program. User wants to import a contact App Presents "ABPeoplePickerNavigationController" to the User. User selects the contact they…
Ethan Mick
  • 9,517
  • 14
  • 58
  • 74
0
votes
1 answer

Best way to determine if City, State and Zip are present

I store the data into an NSMutableArray The issue is that the ABRecord is sometimes incomplete. For example, I am expecting the user to have the following data First Name Last Name Street Address City State Zip Country If City, State, Zip are…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
0
votes
1 answer

Enumeration Issue

NSMutableArray *tempMutableArray = [[NSMutableArray alloc] init]; if (street != NULL) { [tempMutableArray addObject:(NSString *)street]; } if (city != NULL) { [tempMutableArray addObject:(NSString *)city]; } if (state != NULL) { [tempMutableArray…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
0
votes
2 answers

Open Contact List at Specific Contact

I have an iPhone app that uses a ABPeoplePickerNavigationController to pick out a contact. First time you select a contact, the contact list obviously starts at the top, under the letter 'A'. However, say you selected a contact under 'M'; if you…
andygeers
  • 6,909
  • 9
  • 49
  • 63
0
votes
1 answer

Setting kABPersonType

I'm trying to set the kABPersonType value for a contact (ABAddressBook iOS). ABRecordSetValue(person, kABPersonType, [currentContact personType], nil);//person type (individual or company [currentContact personType] is an NSNumber. An error gets…
Shadrax
  • 57
  • 1
  • 9
0
votes
2 answers

custom iphone contact detail screen

I have a requirement to make a screen same as iphone address book contacts detail view. in which we can display contact image, related contact no.s, addresses, urls, etc. In which i have to show some custom properties in it related to my app. so I…
Saboor Awan
  • 1,567
  • 4
  • 24
  • 37
0
votes
3 answers

iPhone address book problem

I'm having a bit of an issue with using the address book to get the names of the contacts from the device into my own contacts view within my application. The code I have works fine on the emulator but I when tested on an iPhone 4 it will crash, the…
Donal Rafferty
  • 19,707
  • 39
  • 114
  • 191
0
votes
1 answer

Issue while adding multiple addressed to addressbook in iPhone programmatically

I am adding Multiple addresses to my address book, but when I try to insert more then one address, like first I'll insert Work address and then If I insert the Home Address, the code will insert the Home address and removes the Work address. Here…
V.V
  • 3,082
  • 7
  • 49
  • 83
0
votes
3 answers

What should the return type be?

ABRecordCopyValue(thisPerson, kABPersonAddressProperty); thisPerson is ABRecordRef Thanks
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
0
votes
1 answer

Why am i crashing here?

The firstname, lastname and email address work great! as soon as I get to address, im crashing. NSString *firstName = (NSString *)ABRecordCopyValue(thisPerson, kABPersonFirstNameProperty); NSString *lastName = …
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
0
votes
1 answer

ABAddressBook get View for one contact

I use a custom UITableView to display some data together with the contacts out of the users address book. I won't to invoke the standard, non-editing, view of a single contact when one this entries is tapped. How do I do that? I mean I know how to…
plaetzchen
  • 757
  • 6
  • 22
0
votes
2 answers

how to save home address programmatically in iphone addressbook?

how to save home address "add new address" in iphone addressbook by programming, not interface?
Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154
0
votes
1 answer

Possible bug in ABGroupAddMember

I found some bugs related to ABGroupAddMember on following sites: http://www.iphonedevsdk.com/forum/iphone-sdk-development/65614-issues-abaddressbokk-since-update-ios-4-2-a.html http://www.3manzana.com/2010/12/bug-no-ios-42-abgroupaddmember.html Has…
Devang
  • 11,258
  • 13
  • 62
  • 100
0
votes
2 answers

ABAdressbook get FullName from Telephonenumber

Hi I want to search the ABAdressbook and get the name from a given telephone number? How can I do that?
Raphael
  • 512
  • 1
  • 6
  • 18