且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

基于URL打开特定的应用程序

更新时间:2023-01-01 17:04:43

您可以添加的 数据规范 您的意图过滤器要与您的应用程序打开HTTP架构和域。

You can add a data specification to your intent filter with the http schema and the domain you want to open with your app.

<intent-filter ... >
    <data android:scheme="http" android:host="example.com" />
    ...
</intent-filter>