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

how to avoid duplicate contacts from address book?

hi i am retrieving contacts from address book but i am getting duplicates too for eg: sam - 1234567890 sam - 1234567890 are present in address book it gets both, is there any property to avoid this case. While it works if the number is different…
user2798258
  • 171
  • 1
  • 4
  • 13
0
votes
1 answer

Android insert contact activity does not finish when press save button

My problem is that when I call system activity Intent intent = new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(intent, ADD_CONTACT_ACTIVITY); to insert a new contact in my addressbook, when I press…
0
votes
1 answer

displaying emailaddress corresponding to name from address book in ios

I have an application in which I have a UITextField where when I enter a character in UITextField it searches for any matches in my address book and if any match is found it display name and emailaddress of the respective person on a UITableView. My…
Rani
  • 3,333
  • 13
  • 48
  • 89
0
votes
1 answer

iOS contacts programatically - do I need ABUnknownPersonViewController?

My iPad app collects some user data, including name, address, phone, etc. I have a button that allows the user to create a new contact from this collected data. Right now, my code creates a contact record (ABRecordRef) and sets some values…
Kent
  • 1,705
  • 3
  • 16
  • 26
0
votes
1 answer

Cannot get true contact's group from Android device?

I tried to get all group from android device with below code. Then I put all group name and id in arraylist. Uri CONTENT_URI = ContactsContract.Groups.CONTENT_URI; String GR_ID = ContactsContract.Groups._ID; String GR_TITLE =…
binhnt
  • 97
  • 3
  • 11
0
votes
1 answer

How to get contacts list by group name in Android?

I want to get all contact in local address book of Android device by Group Name. Such as "Family", "Friends", "Work" ... like Address book in android device. Here is my code: public void getAllContactsByGroup(ContentResolver cr) { String a…
binhnt
  • 97
  • 3
  • 11
0
votes
1 answer

iOS Address Book: Contact name from value of NSString

I am trying to add contacts to address book from my app. The code I have works great, but I want the contact name to be the value of a NSString. I have tried to replace @"David" in the code with the name of the string, but it doesn't seem to…
ThomasGulli
  • 604
  • 1
  • 7
  • 20
0
votes
1 answer

Address Book iOS : Contact name from string

I am trying to automatically add contact to the iOS address book from my app, where the name of the contact is from a NSString. I have tried to figure it out (see code under), but It didn't work. It works to add contacts with the first code I have…
ThomasGulli
  • 604
  • 1
  • 7
  • 20
0
votes
2 answers

C++ Error : Unhandled exception at 0x00934ABB (linked list, addressbook)

I'm new to C++ and I have a project about creating this Address Book program and I'm having trouble with the code below. The code is supposed to create records. cin >> ch; switch(ch) { case '1': system("cls"); cout << "\n\nINSERT…
0
votes
1 answer

Finding city, country, postal code of contact selected from address book

I have seen many threads for accessing contacts from address book, but apart from name and number, i want to access other details like- city, state, country, postal code of the person. I have tried this code, but other things are null. …
amit singh
  • 1,407
  • 2
  • 16
  • 25
0
votes
1 answer

How to get Custom label and value of the Email in ABAddressBook

In AddressBook of iPad,when i am trying to add a email, I have an option to set my own Custom Label and give the email, Problem: I am not able to fetch that particular label and its value, I am able to get other,iCloud,home,work email IDs from…
iOSDev
  • 412
  • 10
  • 30
0
votes
1 answer

How to Open Addressbook New Contact Screen

In my application I have UIBarButtonSystemItemAdd on right side of the navigation controller. On tapping of that plus icon I want to open address book in editable mode. Please refer the following image. How to open address book UI for new contact in…
MilanPanchal
  • 2,943
  • 1
  • 19
  • 37
0
votes
1 answer

Getting various memory leaks while accessing AddressBook in iOS 7

I am using using this function to access the contacts list and saving the contact object using MContact class,but this code is giving me several memory leaks,i am not able to figure this out .Please help! +(NSArray *)getAllContacts { …
ankyy
  • 351
  • 6
  • 16
0
votes
1 answer

ios how to retrieve the email addresses from contacts,mail?

i want to retrieve the email ids of users exist in contact and mail app in the device.It just like there is search field to search the user email id and the fallowed table will show the results that contains the search text.And the users email id's…
Smith
  • 379
  • 6
  • 18
0
votes
1 answer

iOS: Is there a way to know whether a contact comes from Facebook and his FBID?

Can someone tell me if it's possible to get the Facebook ID from a contact's in the AddressBook? I've been using the RHAddressBook library but can't seem to know how to go around this. Any help would be greatly appreciated. Regards,
albertosh
  • 2,416
  • 7
  • 25
  • 32