Created
August 29, 2011 08:16
-
-
Save ytkhs/1177998 to your computer and use it in GitHub Desktop.
a sample intent action to insert or edit email_adress
This file contains hidden or 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_INSERT_OR_EDIT); | |
intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE); | |
intent.putExtra(ContactsContract.Intents.Insert.EMAIL, "[email protected]"); | |
startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment