我试图让Android应用程序选择器在注册电子邮件中单击特定URL时启动.我已经看过下面的问题和其他几个问题,但我仍然没有运气.
我已经在AndroidManifest.xml文件中创建了我的意图,如下所示(我已将我的网站地址放在您看到".website.org"的位置):
<activity android:name=".MainActivity" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https"
android:host="*.website.org"
android:path="/" />
</intent-filter>
</activity>
Run Code Online (Sandbox Code Playgroud)
有没有人能帮助我还有什么我可能会丢失,因为这是目前还没有推出任何东西,它只是直接加载在默认的Web浏览器的链接?