I use this code to valid url
public static bool isUrl(string text)
{
Uri uriResult;
return Uri.TryCreate(text, UriKind.Absolute, out uriResult) && uriResult.Scheme == Uri.UriSchemeHttp;
}
but this code, not working when i send parameters like google.com, www.google.com
it only work when i use http like http://google.com
i need a code for c#, like Patterns.WEB_URL.matcher(text).matches();
in android