2013-05-09 102 views

回答

2

你也可以使用Intents.Insert.NAME发送人名称,意图为:

Intent intent = new Intent(ContactsContract.Intents.SHOW_OR_CREATE_CONTACT); 
intent.setData(Uri.fromParts("mailto","[email protected]", null)); 
// add name here 
intent.putExtra(Intents.Insert.NAME, sender_Name_here); 
context.startActivity(intent); 
+0

乌姆它不工作。未发现处理意图的活动{act = com.android.contacts.action.SHOW_OR_CREATE_CONTACT(has extras)} – user1017674 2013-05-09 19:45:30