我知道這個問題可能會出現重複其他一些類似的問題。我已經審查了所有這些問題,但仍無法解決此問題。Android的意圖過濾器https計劃不起作用
我想在點擊網頁上的鏈接時啓動我的android應用程序。它的工作原理是,當我使用自定義方案所需:
<!-- In the deployed webpage: -->
<a href="test://test.com">Launch application </a>
<!-- The Intent filter: -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="test" android:host="test.com" />
</intent-filter>
更改方案時,但爲「https」:
<!-- In the deployed webpage: -->
<a href="https://test.com">Launch application </a>
<!-- The Intent filter: -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="https" android:host="test.com"/>
</intent-filter>
瀏覽器試圖打開(不存在)頁面,並忽略意圖過濾器。 它不用於HTTP,HTTPS,FTP等工作
我運行的應用程序在Android 6.0,編譯:最低11,目標23
好像一些機制還不讓我使用「保留」方案啓動應用程序,但我在帖子中沒有看到與此相關的任何內容。
你有什麼線索可以做什麼?
好吧,我認爲這是問題的根源。我會盡快接受答案。你知道應用鏈接驗證是否適用於自簽名SSL證書? – user1275011
也應該爲自簽名ssl工作 – marmor