My problem
In my android application I get url input from user, like \"www.google.com\".
I want to find out for the given url whether to use
You can check, the given url is http or https by using URLUtils.
URLUtil.isHttpUrl(String url); returns True if the url is an http.
URLUtil.isHttpsUrl(String url); returns True if the url is an https.