I'm starting on Android, and I need to open from my application the contact in particular of the native contacts application by passing the id, I get to open the android contacts application, but only the main page, and I can not find the form to do it, I'd like to do it from a button that calls the following method:
public void vercontacto(View view) {
Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
startActivity(contactPickerIntent);
}
Logically, changing what I have in the right way to do it, the id is declared at the beginning of the class and initialized in the onCreate method, how could I do it? Greetings and thanks in advance.