在webview中,要调起拨号键盘
mWebView.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { /** * 拨打电话 */ if (url.contains("tel:")) { String mobile = url.substring(url.lastIndexOf(":") + 1); Uri uri = Uri.parse("tel:" + mobile); Intent intent = new Intent(Intent.ACTION_DIAL, uri); startActivity(intent); return true; } return true; } });如果是intent.ACTION_CALL,则需要动态申请拨号的权限.在manifest中也要添加拨号权限