Android的API联系 [英] Android Contact API

查看:100
本文介绍了Android的API联系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用所有的接触的例子中我的Andr​​oid模拟器,但它没有显示的电话号码。
它只显示名称,所以任何人都可以给我其中进口姓名和电话号码从电话簿中的Andr​​oid通讯录API的例子?

I have used all the contact examples in my Android emulator, but it is not displaying the phone numbers. It only displays names, so can anyone give me an example of the Android contacts API which imports names and numbers from the phonebook?

推荐答案

下面是一个示例项目显示通过访问这两个Android通讯录中的1.x和2.x版本内容提供商。

Here is a sample project showing access the contacts' names and phone numbers via both the 1.x and 2.x version of the Android contacts content provider.

这篇关于Android的API联系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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