Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android意图筛选器数据https不工作_Android_Intentfilter - Fatal编程技术网

Android意图筛选器数据https不工作

Android意图筛选器数据https不工作,android,intentfilter,Android,Intentfilter,以下代码不起作用: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.DEFAULT" /> <data andro

以下代码不起作用:

<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" />
  <data android:scheme="http" />

</intent-filter>

我做错了什么?当我尝试打开http链接时,这段代码起作用,我可以以浏览器的形式打开我的活动,但在https链接上这不起作用

编辑:
这是我打开链接时的代码:


startActivity(新意图(Intent.ACTION_视图,Uri.parse(link))

您如何尝试
https://
链接?我从whatsapp聊天中获得,并从我编写的帮助程序应用中获得。您的帮助程序如何尝试
https://
链接?您无法控制WhatsApp。它使用其中的
https
url创建意图。显示您正在创建和使用
Intent
的代码。