android 调用系统通讯录添加联系人,并将号码传值到相应的控件内
Intent intent = new Intent(
Intent.ACTION_INSERT,
Uri.withAppendedPath(
Uri.parse("content://com.android.contacts"),
"contacts"));
intent.putExtra(Intents.Insert.PHONE, number);
startActivity(intent);
浙公网安备 33010602011771号