I have a WebView that loads a page that have links that contain "sms:// or tel://". Im trying to create an intent filter that will launch another activity when an user clicks one of these links. For some reason my activity that i created to handle this links is not being called.如何处理<a href="sms://"> in my own webview?
This is the intent filter that i try to create.
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:scheme="tel" android:host="path" />
</intent-filter>