如何添加联系人到com.android.provider.contacts? [英] how to add contacts to com.android.provider.contacts?

查看:205
本文介绍了如何添加联系人到com.android.provider.contacts?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拿出我的应用程序的东西奇怪的是,我发现自己添加名称,号码和一个人的类型Android的database.Is这可以以编程方式添加条目到Android database.I搜索很多,但没有找到任何具体的.thanks提前。

I come up with something strange in my application that I found myself adding name,number and type of a person to android's database.Is this possible to add the entries programmatically to android database.I searched lot but could not find anything specific.thanks in advance.

推荐答案

下面是一个解决方案:的插入,更新,删除,查看通讯录中的Andr​​oid 2.0的

Here is a solution for: Insert, Update, Delete, View contacts in android 2.0

,并检查以下问题SO链接:

And also Check the below SO Question links:


  1. 删除联系人

  2. 添加联系人

  1. Delete contact
  2. Add contact

这篇关于如何添加联系人到com.android.provider.contacts?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆