我無法讓我的應用註冊打開特定的網址。我嘗試使用pathPatter,如:「。*/spreadsheet /.*」和類似的,機智或沒有主機......但沒有任何反應。我的應用程序只是不會註冊打開這些網址。Android - 意圖過濾器中的網址格式
我想打開網址一樣 https://docs.google.com/spreadsheet/viewform?formkey= ...
我的清單
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<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.BROWSABLE" />
<data
android:host="docs.google.com"
android:pathPrefix="/spreadsheet"
android:scheme="http" />
<data
android:host="docs.google.com"
android:pathPrefix="/spreadsheet"
android:scheme="https" />
</intent-filter>
</activity>