显示我的应用程序图标盈方接触过我的、接触过、应用程序、图标

2023-09-06 09:27:04 作者:抱歉!你不配

作为的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)

 
精彩推荐
图片推荐