android: How to pick contacts phone num -
i need pick contact phone num, , used this...
intent intent = new intent(intent.action_pick, contactscontract.contacts.content_uri); startactivityforresult(intent, get_contact_from_result);
but, when contact has multiple numbers, pick activity list 1 contact, , can select 1 phone.
what can display contacts' every phone num?
you can ask contact picker show 1 contact per phone, contact multiple phones appear several times:
intent intent = new intent(intent.action_get_content); intent.settype(contactscontract.commondatakinds.phone.content_item_type); startactivityforresult(intent, pick_contact);
Comments
Post a Comment