我似乎无法让我intent-filter从一个http和一个content计划中打开。我有我的intent-filter设置来查找某个文件扩展名(例如:“.riley”),但是当我将我的data部分设置为同时查找http方案和content方案时,它拒绝通过http. 当我将其设置为查找时http,它不会以content. 当我不指定 ascheme时,它只通过fileand打开content,但忽略http.
这是我没有指定的基本设置scheme:
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\.riley" />
如何访问以从指定的路径扩展名打开我的应用程序?