I want to get specific contact id and name. what is the best way to get it?
if (requestCode == mActions.REQUEST_PICK_CONTACT && resultCode == RESULT_OK) {
Uri uriContact = (Uri)data.getData();
String/int id = ???
String name = ???
String phoneNumber = ???
}
}
I just want to get the contact i choose data and not all the contact. how can i do it?