我正在使用 ionic 和 cordova 构建自定义拨号器应用程序,我想让我的应用程序替换原生的 android 拨号器,我一直在寻找它,但我发现我必须在应用程序的 list 文件中添加一些设置,但在人行横道我找到了一个 manifest.json 并查看了他们的网站以编辑这个文件,但事实证明他们只有两个设置, ionic 和权限,但在我的情况下,我有这些设置将它们放在 list 文件中
<intent-filter>
<action android:name="android.intent.action.CALL_BUTTON" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
那么,添加这些设置有什么帮助吗?
最佳答案
我不知道如何使用 manifest.json 来完成它,但一种快速的方法是直接更改 Android list 模板。它位于“Path/To/Crosswalk/template/AndroidManifest.xml”。
<!-- <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />-->
<action android:name="android.intent.action.CALL_BUTTON" />
<category android:name="android.intent.category.DEFAULT" />
关于android - 我如何在人行横道项目的 manifest.json 中添加 intent-filter 标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29535837/