I am attempting to use a yahoo finance api that returns a stock quote as a cvs file in Android. I've reduced the code down to:
HttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new BasicHttpContext();
HttpGet httpGet = new HttpGet("http://download.finance.yahoo.com/d/quotes.csv?s=msft&f=sl1p2");
I'm getting the following error "java.net.UnknownHostException: download.finance.yahoo.com"
The link works so I'm not sure why I'm getting the exception. Any help is appreciated.