Android 如何禁用scheme跳转其他app

app需要进入淘宝优惠卷界面(H5)领卷购买商品,但这个H5界面会自动唤起手机淘宝经检查scheme为tbopen://,我想问下怎样禁止唤起手淘?

在进入之前卸载手淘就可以了

重写shouldOverrideUrl
if(url.startWith("http")){
webview.loadUrl(url);
}
return true;

跳转网页时,对链接地址做判断

既然知道目标源,强行过滤就可以了