PDA

View Full Version : How would you fetch stock market data from Internet to a symbian anna application?



falconium
24th January 2012, 19:37
Hi,

The question is stated in the subject. My aim is to write a simple application for E7 that fetches stock data from forexpros.com (this provides real time data, that's why I'd prefer it) from its page source:

<div class="arial_26 quotesSummeryBoxCurrencyLast"><b id="currency_last" class="arial_24" style="font-weight: bold;"><span id="last_last" class="arial_24" style="font-weight: bold;">5.31</span></b></div>

Can it be realized easily with either simly by Qt, Qt Mobility or Qt Quick?

If you'd choose a different approach, please let me know.

I have the latest Qt SDK 1.1.4 installed.

Thanks!

mvuori
24th January 2012, 20:53
I guess you should look how the Qt SDK example in <QtSDK>/Examples/4.7/network/http does things in pure Qt.
The simples way _might_ be just to download the page and then use simple string functions to find the value inside it (easy when you know where it is).