Android:以编程方式检索帐户的联系人

问题描述 投票:1回答:1

我在模拟器上添加了两个Google帐户。后来我在每个帐户下添加了联系人。我可以使用下面的链接获取帐户。

What is the default Account Type / Name for contacts on Android Contact Application?

现在如何以编程方式检索在帐户下添加的联系人及其字段?

android contacts account
1个回答
0
投票

您可以通过传递帐户名称并输入选择参数,通过查询原始联系人表来查询特定于帐户的联系人

© www.soinside.com 2019 - 2024. All rights reserved.