Questions tagged [contactpicker]

51 questions
1
vote
1 answer

Can We get add contact intent with contact picker?

I want to use the contact picker intent to pick the contacts. Also I want the function of adding contacts in my activity. There is an intent to add contacts, nut I want to know that can we use this both together as used in the contacts app in…
user6265109
1
vote
2 answers

Android - contact picker in fragment

I have a viewpager/sliding tabs. I want to be able to get 4 contacts from the address book that is already on the phone and save them in the app for later use. I have the code to do contact picker with an activity but my contact page is a fragment…
1
vote
1 answer

how to save contacts names , numbers , contact_id to ArrayList / contact picker

This activity is working but i want to save contacts information (phone_number , name , contact_id) to a ArrayList . Then i will use a customadapter to listview this arraylist in checkbox for multiselecting construction . I will use contact…
1
vote
1 answer

How to get first name and last name from ContactInformation?

I'm using the ContactPicker in a Windows Store application, and I need to retrieve the first name and last name separately for the selected contact. Unfortunately, the ContactInformation class only has a Name property, where both parts of the name…
Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
0
votes
1 answer

setState function is not working even though i am using stateful widget...whats the reason?

I am trying to select contact from phone and showing it on the text field., but the text field is not showing the changed value even though the variable is changing in the log. I am using contact picker package. Here is the variable…
Saad
  • 1
  • 1
0
votes
0 answers

Is there an immutable ID to use with the UWP Contact Picker?

Contacts do not appear to keep the same ID after edits. In a UWP app: Launch custom UWP app, user clicks "Add Contact" Call contactPicker.PickContactAsync() User selects contact, returns a Contact with an ID such as {5.70002.836} Save Contact…
tallman
  • 129
  • 1
  • 3
  • 10
0
votes
3 answers

Retrieve List of Phone Numbers onActivityResult

I'm using a library from GitHub MultiContactPicker, used to pick contacts using custom ListView. I am able to get the names of contacts picked by the user (onActivityResult) but can't get the phone numbers. The library uses private List
0
votes
2 answers

How to pick contact into edittext using fragment

I work with same app I pick my contacts using activities class and it work perfectly now I add same tablayout and fragment I do every possible methods to be solved Her is some code public void pickContact(View v) { Intent contactPickerIntent =…
0
votes
2 answers

How to import a Specific Contact's phone number?

I'm trying to Read Phone number of a Contact Selected using Contact Picker. The Display Name works fine, But Phone number doesn't. Code: //calling Contact Picker public void CPick(View v){ Intent intent=new Intent(Intent.ACTION_PICK,…
Zubair Younas
  • 71
  • 1
  • 13
0
votes
1 answer

Can't sign APK because of third party library

This is my first app publication. The project is working fine in the development side, but I am facing a problem during signing APK. Included library in the app of com.1gravity:android-contactpicker and facing problem during signing apk only. error…
sushildlh
  • 8,986
  • 4
  • 33
  • 77
0
votes
3 answers

Incorrect Contact Number Fetching in Contact Picker - Android

I am using a contact picker to get the number to an editText. The saved contact numbers can be of three types based on how the user saved a particular number. +911234567899 (with +91 as prefix) [India CountryCode]. 01234567899 (with 0 as prefix)…
0
votes
1 answer

Pick multiple contact with name and phone number

Currently my code can pick one contact only and display in the selected editText and after button add clicked, the details will inserted into the database.. Now i want to select multiple contact and insert them into the database.What is the best…
0
votes
1 answer

Access Contacts iOS objective c

I am trying to access user's contacts and fetch the selected phone number, but i am unable to implement same. I don't want to use ABPeoplePickerNavigationControllerDelegate as it is deprecated ,i want to implement CNContactPickerViewController, how…
Zღk
  • 854
  • 7
  • 25
0
votes
0 answers

Application is restarting while clicking on menu item

I am using contact picker to chose a phone number from phone.But after using the contact picker once I click on any other button or menu, the app gets restarted. Below is my code :- Here mobilText is the textbox where I am setting the phone number…
user3206357
  • 393
  • 2
  • 6
  • 19
0
votes
1 answer

How to instantiate a view controller programatically, without storyboard

Is there a way to instantiate a view controller programatically without using storyboard identifier. I want to push CNContactPickerController into my root view controller . let controller = CNContactPickerViewController() controller.delegate =…
Marian Iconaru
  • 199
  • 4
  • 12