title: Get and Parse CSV file in android
body: <p>I'm trying to get a csv file from <a href="http://download.finance.yahoo.com/d/quotes.csv?s=msft&amp;f=sl1p2" rel="noreferrer">http://download.finance.yahoo.com/d/quotes.csv?s=msft&amp;f=sl1p2</a> then parse it so that I can get the price and the price changed into an object that sets both properties. Is there a way that I can do this with the android libraries?</p>
  
  <p><strong>Edit: Here's the current state of the union (not working):</strong></p>
  
  <pre><code>HttpClient httpClient = new DefaultHttpClient();
          HttpContext localContext = new BasicHttpContext();
          HttpGet httpGet = new HttpGet(uri);
          HttpResponse response = httpClient.execute(httpGet, localContext);
          String result = "";
  
          BufferedReader reader = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
  
          String line = null;
          while ((line = reader.readLine()) != null){
                result += line + "\n";
                String[] RowData = result.split("\n");
                String name = RowData[0];
                String price = RowData[1];
                String change = RowData[2];
  
                stock.setPrice(Double.parseDouble(price));
                stock.setTicker(name);
                stock.setChange(change);
              }
  </code></pre>