Question

I am getting this error:

java.net.MalformedURLException: Protocol not found[java.lang.StringBuilder] 

When the following line is getting executed:

url = new URL(urlString.toString());

urlString stores the following value:

http://maps.google.com/maps?f=d&hl=en&saddr=25.04202,121.534761&daddr=25.05202,121.554761&ie=UTF8&0&om=0&output=kml

What causes this Exception?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top