Android原始联系人行应创建自己的专有汇总联系人行 [英] Android raw contact row shall create its own exclusive aggregated contact row

查看:158
本文介绍了Android原始联系人行应创建自己的专有汇总联系人行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在android Contacts框架中创建原始联系人,而该联系人又将创建自己的排他性联系人行,该联系人行将永远不会被任何其他原始联系人共享,而且我的原始联系人也不应与任何其他联系人聚合排.如何实现呢?

I want to create raw contacts in android contacts framework which in turn shall create their own exclusive contact row, This contact row will never be shared by any other raw contact also my raw contact shall also not to be aggregated with any other contact row. How to achieve this ?

换句话说:

原始联系人< ------这是这两个实体的唯一关系------>汇总联系人行

Raw Contact <------This shall be the only rel for these 2 entities------> Aggregated contact row

推荐答案

您需要设置同步适配器( AggregationExceptions 到其他任何原始联系人.

You'll need to setup a sync adapter (1, 2) that will be run periodically and/or when contacts info change, and when it runs, it'll simply make sure there are no entries in AggregationExceptions that links the apps' raw contacts to any other raw contact.

这篇关于Android原始联系人行应创建自己的专有汇总联系人行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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