Android的QuickContact徽章 [英] Android QuickContact Badge

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

问题描述

在我的Andr​​oid应用我的电话号码的数据集,包括。这些示于与由一个QuickContactBadge和电话号码的行的列表视图。

In my Android app I have dataset comprising of phone numbers. These are shown in a list view with rows consisting of an QuickContactBadge and phone number.

在绘制此列表屏幕上,我们正在与映射电话号码装置的接触和也显示联系人的显示名称。

When drawing this list onscreen, we are mapping device contacts with phone numbers and also show Display Name for the contact.

QuickContactBadge是安装程序的基础上的电话号码进行查询。

QuickContactBadge is setup to perform lookup based on Phone number.

问题:
要显示事业QuickContact活动自然接触。然而,点击未知的联系人都没有关系。什么也没有发生。

Problem : Native contacts cause QuickContact Activity to be shown. However, clicking on unknown contacts has no bearing at all. Nothing happens.

如何都应该配置QuickContactBadge未知联系人?

How are we supposed to configure QuickContactBadge for unknown contacts?

我的Andr​​oid手机上的手机应用似乎也采用了QuickContactBadge并处理本地和未知联系人pretty很好。

The phone app on my Android phone also seems to employs QuickContactBadge and handles both native and unknown contacts pretty well.

推荐答案

我最后写,因为快速联系徽章的行为是不能跨越手机一贯的定制解决方案。当接触不会对本地存储的存在,在某些设备QuickContactBadge而在一些它没有做任何打开添加联系人页面。

I ended up writing a custom solution since the behavior of Quick Contact badge was not consistent across the Phones. When a contact does not exists on local storage, on some devices QuickContactBadge opened "Add Contact" Page whereas on some it did nothing.

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

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