SyntaxFix
Write A Post
Hire A Developer
Questions
Use the android.webkit.URLUtil on android:
android.webkit.URLUtil
URLUtil.isValidUrl(URL_STRING);
Note: It is just checking the initial scheme of URL, not that the entire URL is valid.