am f1bc39b8
: fix code error. The data type was wrong, but it\'s actually not needed.
* commit 'f1bc39b8ae9d63f3c7d89f3d07ec026c62de6e6e': fix code error. The data type was wrong, but it's actually not needed.
This commit is contained in:
@ -737,7 +737,7 @@ so you can populate fields of the contact details.
|
||||
<pre>
|
||||
public void editContact(Uri contactUri, String email) {
|
||||
Intent intent = new Intent(Intent.ACTION_EDIT);
|
||||
intent.setDataAndType(contactUri, Contacts.CONTENT_TYPE);
|
||||
intent.setData(contactUri);
|
||||
intent.putExtra(Intents.Insert.EMAIL, email);
|
||||
if (intent.resolveActivity(getPackageManager()) != null) {
|
||||
startActivity(intent);
|
||||
|
Reference in New Issue
Block a user