显示我的应用程序图标盈方接触过 [英] Show my app icon infront off contact
问题描述
作为的WhatsApp
,如果一个名字点击呼叫,在列表中向下,你会发现的WhatsApp
标志中的数字前面,如果你想使用为TXT 的WhatsApp
。结果
我们可以添加 easyPhoneCard
在该列表,因此用户可以直接调用使用该选项时没有点击该提示打电话。
As in WhatsApp
, if you click on a name to call, down the list you will find the WhatsApp
logo in front of the number if you want to txt using WhatsApp
.
Can we add the easyPhoneCard
in that list, so the user can directly call using that option without clicking on the prompt to call.
推荐答案
您必须在您添加的清单的一些规则。
You have to add in your manifest some rules.
在这种方式,Android将能够列出你的应用程序与特定动作(这里是调用动作)
In that way, Android will be able to list your application as compatible with a specific action (here is call action)
我认为这将是类似
<intent-filter>
<action android:name="android.intent.action.CALL" />
<category android:name="android.intent.category.DEFAULT" />
<action android:name="android.intent.action.CALL_PRIVILEGED" />
<data android:scheme="tel" />
</intent-filter>
(在你的活动节点添加这将处理操作)
(add this in your activity node that will handle operations)
这篇关于显示我的应用程序图标盈方接触过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!