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't get it from just URL. It doesn't make sense. Some websites can work with both http & https. It depends upon website itself whether they use SSL certificate or not.