Is there a way to download and parse stock quotes from yahoo or google using the android platform?
Thanks
Is there a way to download and parse stock quotes from yahoo or google using the android platform?
Thanks
You could also do it with straight HTTP using YQL
YQL console is useful for testing. The example above uses the google.igoogle.stock table
Redistribution of Yahoo Finance data is only allowed if you are using the badges the team has created: http://finance.yahoo.com/badges. Using YQL for non-personal use would be a breach of terms of service.
I think this blog post could help you:
http://benjisimon.blogspot.com/2009/01/truly-simple-stock-api.html
It uses Yahoo Finance to retrieve stock quotes.
This uses the same service, but does it download into a spreadsheet
http://www.gummy-stuff.org/Yahoo-data.htm
However it could be useful since there is a lot of explanaiton.
Have a look to the BuzzBox SDK for android and in particular to the example here:
http://hub.buzzbox.com/android-sdk/quickstart
The example is using the Yahoo weather api to build a notification weather app. If you simply adapt it to get stock data using YQL as suggesed before YQL
It's a very similar JSON parsing problem.