Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Trusted Contributor
Posts: 140
Registered: ‎11-23-2010
My Device: Torch 9800
My Carrier: Rogers

HTML Parsing

Hey Guys,


   My new project involves loading a webpage and parsing it to get my download, upload bandwith and I've been looking around in QT forums and there seems to be no easy way to do it. One thing I seem to be seeing alot too is that it's not working everytime. So can you guys point me out at samples or libraries that would help me, 


1- Learn how to load a webpage, I'm pretty sure I have a good idea on how to do that

2- Parse a webpage and I need to look for specific tag like <DD class="download_lable">20.4&nbpsGB</DD>


Thank you


PS: I manage to do it in C# like with 5 lines of code so I imagine there is something similar here.

Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: HTML Parsing

Regarfing HTML parsing you can take a look at SGML helper classes: http://sourceforge.net/projects/sgml-for-qt/
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter