Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intent intent = new Intent(Intent.ACTION_VIEW);
- intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
- intent.setDataAndType(Uri.fromFile(file), ContactsContract.Contacts.CONTENT_ITEM_TYPE);
- startActivityForResult(intent, CONTACT_REQUEST);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement