Created
May 5, 2016 14:04
-
-
Save marc0x71/ceec8a59508a4bfa05252687a23efbb7 to your computer and use it in GitHub Desktop.
Show the contact in the android contact manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(Intent.ACTION_VIEW); | |
Uri uri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_URI, String.valueOf(contactID)); | |
intent.setData(uri); | |
context.startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment