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

Custom iOS address book. Need advices about data structures and performance

I am currently developing a voIP app and I am really stuck with the address book. Because of the custom design, the native address book does not fit in my app. Besides, I want to add some extra data not present in the native address book. But this…
Andrés
  • 37
  • 8
0
votes
1 answer

Access contact image from address book based on its id

As every one is aware of the fact that we can create an address book(ABAddressBook),copy all people in array and then create a record reference(ABRecordRef),then copy its image data using NSData as follows: ABAddressBookRef addressBook =…
Eshwar Chaitanya
  • 697
  • 10
  • 21
0
votes
1 answer

How to access email contacts from iphone appliaction programatically?

Hi I want to retrieve all email contacts from user email i.e gmail or yahoo or any mail from my iphone app, Is it possible, give solution to me, Thanks In Advance.
0
votes
3 answers

I want to add a button, which ,when tapped, will show the user the list of contacts in his/her iPhone. Please help me find some working API

i have already searched many places many people have used ABAddressBookRef class but my xcode 4 does not recognize this i have imported and i have added the library/framework too but still the code was not recognized please help me in finding some…
Asad Ullah
  • 117
  • 1
  • 3
  • 11
0
votes
1 answer

Getting twitter user from Address Book

I'm trying to get the Twitter username from a contact in the address book but I'm not able to do it I'm using this code that I found "googling": - (NSString*)getTwitterUsernameFromRecord:(ABRecordRef)record { NSString * twitterUsername = nil; …
rai212
  • 711
  • 1
  • 6
  • 20
0
votes
1 answer

AddressBook in background thead: weird intermittent crash

I'm reading Address Book in a background thread and I'm getting some crash reports with the following stacktrace. 0 libsystem_kernel.dylib __pthread_kill + 8 1 libsystem_c.dylib abort + 94 2 AppSupport…
LocoMike
  • 5,626
  • 5
  • 30
  • 43
0
votes
1 answer

Sorting of contacts from iPhone address book

I have an app that uses address book. I am trying to display sorted list of names from address book using sortedArray = [arr_contactList sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)]; and then when user selects one of the…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
0
votes
1 answer

How do I create the CFErrorRef parameter required for modifying ABAddressBook via Ruby Motion

I'm trying to use Ruby Motion to add an entry to the AddressBook. I can't figure out how to properly instantiate the CFErrorRef parameter. error = nil # compiles but won't capture an error properly # Here are my numerous attempts: #error =…
Guy Argo
  • 397
  • 4
  • 10
0
votes
1 answer

Contact or address book app using Core Data and a SQLite storage file

I was wondering if it is possible to create a address book or contacts app, like Apple's, that uses Core Data and an SQLite storage file. The part I am not sure if it is possible, or how to do it is having multiple properties for phones. So a user…
OscarTheGrouch
  • 2,374
  • 4
  • 28
  • 39
0
votes
1 answer

ABAddressBook how do I set the group of a returned ABRecordRef?

So I'm calling this method: - (void)newPersonViewController:(ABNewPersonViewController*)newPersonViewController didCompleteWithNewPerson:(ABRecordRef)person Which returns an ABRecordRef. But I can't see it to a group using ABGroupAddMember. If I…
firecall
  • 753
  • 1
  • 8
  • 22
0
votes
2 answers

Fetch All Atributes of single person from contacts in iPhone

I am working in projects that need to fetch all information of single person from contacts. I can Fetch all phone,Emails or other properties by using this code - (BOOL)peoplePickerNavigationController: (ABPeoplePickerNavigationController…
Sarafaraz Babi
  • 480
  • 6
  • 18
0
votes
5 answers

Contact numbers iphone sdk

I'm able to pull the first name and the last name of the contact list from iphone sdk, however I'm unable to fetch the phone number from it. I'm getting the error if I try other way, and the usual way I'm getting other stuff with phone number here…
obaid
  • 892
  • 11
  • 25
0
votes
1 answer

what does this ABaddressBook NSLog Mean?

I am trying to search the AddressBook for Phone Numbers by name, -(void)textMessage{ ABAddressBookRef addressBook = ABAddressBookCreate(); NSMutableArray *array; for(int i = 0;i<[savedPeople count];i++){ array = [[[NSMutableArray…
danny huang
  • 155
  • 9
0
votes
2 answers

Address book crash isn't logical

A subset of my app users are reporting a crash. When I symbolicated one of their crash logs, I found the offending code to be the label read. Here is the output from the crash log: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes:…
dougDNA
  • 11
  • 1
0
votes
1 answer

iOS: Best way to Store Contact Info and GPS Coordinates

I want to store specific info before adding it to my UITableView I am accessing the End Users addressbook and getting the First Name Last Name Street Address City State Zip Then I am using MKReverseGeocoder to get the GPS Coordinates So I need to…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177