Welcome!

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

Reply
Developer
Posts: 16,690
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

I use
http://qt-project.org/doc/qt-4.8/qxmlstreamreader.html

here is a simple example. you can find plenty more online:
http://developer.nokia.com/community/wiki/QXmlStreamReader_to_parse_XML_in_Qt

there are also xml samples in the bb samples.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

But Can I  or How to import the project "QXmlStreamReader"  project into the momentics IDE eclipse ?

 

 

I tried it Iam unable to import the project . Any How Iam still trying for it.

 

 

Thanks

Developer
Posts: 16,690
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

QXmlStreamReader is not a project, it is a class in the API

you use #include <QXmlStreamReader>

 

As for the sample: you usually copy&paste parts you can use into your own project

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

Yes I have tried to creeate a Cascades qt project using   the   link given by you

 

 

in the similar model to

 

https://developer.blackberry.com/native/documentation/cascades/getting_started/first_app/lightning_c...

 

 

 

 

but when I run/build the project  Iam seeing the following errors

 

 

Description    Resource    Path    Location    Type
make: *** [Device-Release] Error 2    QXSRExample             C/C++ Problem
make[2]: *** No rule to make target `main.cpp', needed by `release/main.o'.  Stop.    QXSRExample             C/C++ Problem
make[1]: *** [release] Error 2    QXSRExample             C/C++ Problem

 

 

 

New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

Then How to build the example project you have mentioned ?

 

 

 

Developer
Posts: 16,690
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

try these samples:
https://developer.blackberry.com/native/sampleapps/

QXmlStream Bookmarks looks promising
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

Thank you for that example 

 

I already tried that example

 

 

My main difficuly is writing code for parsing my url   which is in  xml.aspx form where as here in the streambookmarks example    only .qml files are used.

 

 

Please help me.

 

 

 

 

 

New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

Hello good afternoon shal I give my Url which is to be parsed           ?

 

 

Thanks

New Developer
Posts: 39
Registered: ‎01-10-2014
My Device: BlackBerry Q5
My Carrier: BlackBerry

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

The only problem Iam facing is "Parsing the url xml.aspx"

Developer
Posts: 16,690
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to build a native Live TV application using BlackBerry Native SDK . I have already tried rss news and Video playback examples

maybe you can post the code you currently use and what issues you have with it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter