Android中调用系统函数查找联系人,具体代码:

Intent intent = new Intent();     intent.setAction(Intent.ACTION_SEARCH);intent.setPackage("com.android.contacts"); //设置查找包intent.putExtra(SearchManager.QUERY, keyword); //传入查找的keywordstartActivity(intent);  

参考链接: http://www.eoeandroid.com/thread-73636-1-1.html

更多相关文章

  1. Android getActionBar() 函数总是返回 null 的解决
  2. Android读取联系人并按照拼音排序
  3. 利用BeautifulSoup的find_all()函数查找某个标签且该标签某属性
  4. 自定义android用户控件,使用回调函数实现自定义事件
  5. 在Android里添加自己的log函数
  6. 解剖Android联系人之三,基于2.1
  7. 解决eclipse中android添加重载函数时参数为arg0,arg1的问题
  8. strcpy函数在android中的实现
  9. Android 保存联系人,包括部门\职位\传真\地址\照片

随机推荐

  1. Android:Property Animation
  2. ViewGroups
  3. Android(安卓)进程和线程(二)
  4. android 加载图片
  5. android之style样式-EditText样式
  6. 最全的android模拟器使用--ADB命令的介绍和
  7. Android官方命令深入分析之Device Monito
  8. android 加载大图长图失真或者不显示。
  9. Android运行main方法后java虚拟机停止运
  10. Android 实现跑马灯效果