TheFinestArtist / FinestWebView-Android

Beautiful and customizable Android Activity that shows web pages within an app.
https://finestwebview.web.app
2.32k stars 532 forks source link

Protocol not found #169

Open serkanucar opened 5 years ago

serkanucar commented 5 years ago

new FinestWebView.Builder(getActivity()).showUrl(true).show("www.google.com");

java.net.MalformedURLException: Protocol not found: www.google.com at java.net.URL.(URL.java:176) at java.net.URL.(URL.java:125) at com.thefinestartist.finestwebview.helpers.UrlParser.getHost(UrlParser.java:12) com.thefinestartist.finestwebview.FinestWebViewActivity.initializeViews(FinestWebViewActivity.java:554)

Cililing commented 5 years ago

It's not valid URI. You have to specifiy protocol, for example - https://www.google.com