0
我需要從我的應用程序修改聯繫人應用聯繫人。我正在使用以下方式:如何在android中以編程方式在聯繫人中添加3個以上的號碼
private void UpdateInsertContact()
{
Intent intentInsertEdit = new Intent(Intent.ACTION_INSERT_OR_EDIT);
intentInsertEdit.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE);
// Add code here to insert extended data, if desired
intentInsertEdit.putExtra(ContactsContract.Intents.Insert.PHONE, "7547874590");
intentInsertEdit.putExtra(ContactsContract.Intents.Insert.NAME, contactName);
intentInsertEdit.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE, "7547874590");
intentInsertEdit.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE, "7547874590");
// Sends the Intent with an request ID
startActivity(intentInsertEdit);
}
但是這樣我就只能添加3個聯繫人。我如何添加3個以上的混合物。