DBMNG数据库管理与应用

所有存在都是独创。
当前位置:首页 > 移动应用 > Android

android 调用系统通讯录添加联系人,并将号码传值到相应的控件内

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);

 


本站文章内容,部分来自于互联网,若侵犯了您的权益,请致邮件chuanghui423#sohu.com(请将#换为@)联系,我们会尽快核实后删除。
Copyright © 2006-2023 DBMNG.COM All Rights Reserved. Powered by DEVSOARTECH            豫ICP备11002312号-2

豫公网安备 41010502002439号