You must use an intent to launch the url in the external browser. Method shouldOverrideUrlLoading()
is a good candidate:
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
Context context = view.getContext();
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
// Launch default browser
context.startActivity(browserIntent);
return true;
}