- /*
- // Parse the unformattedURLString into a Uri.
-
- final Uri uriData = Uri.parse(unformattedUrlString);
-
- // Convert the Uri to a URL, chicking for any problems with the formatting.
- URL urlData = null;
-
- try {
- urlData = new URL(uriData.getScheme(), uriData.getHost(), uriData.getPath());
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- // Convert urlData to a string, which is reqauired by loadUrl method.
- formattedUrlString = urlData.toString();
- */
-