Call united state free!
The complying with should work and also not require any permissions in the manifest (basically override shouldOverrideUrlLoading and handle links separately from tel, mailto, etc.):
You are watching: Net::err_unknown_url_scheme
I had actually this issue arising with mailto: and also tel: links inside an iframe (in Chrome, no a webview). Clicking the web links would display the grey "page not found" page and inspecting the web page showed it had actually a ERR_UNKNOWN_URL_SCHEME error.
Adding target="_blank", as suggested by this conversation of the worry fixed the problem for me.
See more: Jack In The Box Seattle, Wa, All Day Breakfast, Burgers & Chicken Near You
Try this way,hope this will assist you to resolve your problem.
public class MyActivity extends task private WebView webView;
Override defended void onCreate(Bundle savedInstanceState) super.onCreate(savedInstanceState); setContentView(R.layout.main); webView = (WebView) findViewById(R.id.webView); webView.loadData("Call united state free!", "text/html", "utf-8"); Please include this permission in AndroidManifest.xml
Highly active question. Knife 10 reputation (not counting the association bonus) in order come answer this question. The reputation requirement helps protect this question from spam and also non-answer activity.
Not the prize you're looking for? Browse various other questions tagged android html error-handling android-manifest or asking your very own question.
webview application done in C# because that Android utilizing Xamarin for visual studio cannot open up whatsapp: url reflects net::ERR_UNKNOWN_URL_SCHEME error
site design / logo design © 2021 stack Exchange Inc; user contributions licensed under cc by-sa. Rev2021.11.5.40661