我试图捕捉当有人点击Mms浏览器中的网页超链接时触发的意图.我在清单中有这个:
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
</intent-filter>
Run Code Online (Sandbox Code Playgroud)
但是,当我点击http://www.ibm.com时,它只启动浏览器.当我 在adb shell中启动-a android.intent.action.VIEW -d http://www.ibm.com时也一样.我有什么想法我做错了吗?
非常感谢,c
android ×1