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: 148
Registered: ‎01-08-2013
My Device: 9860
My Carrier: Airtel
Accepted Solution

Atom/feet Parsing

Hi All,

    
    I am new guy in blackberry cascade development. I want to know atom/feed parsing.
    Please help me.
 
  Regards
 Sanjit Patra
Developer
Posts: 1,008
Registered: ‎12-12-2010
My Device: Passport (Red Limited Edition)
My Carrier: Mobile Vikings

Re: Atom/feet Parsing

Those are just XML files, just google how to do XML parsing (fairly easy on BB10).

 

QDomDocument doc;
doc.setContent(xmlQString);
QDomElement tasksElement = doc.documentElement();
QDomNodeList taskList = tasksElement.childNodes();

 

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Developer
Posts: 148
Registered: ‎01-08-2013
My Device: 9860
My Carrier: Airtel

Re: Atom/feet Parsing

Hello zezke,

 

    To run the sample application Park in Ghent following error message is alert:

       

    Packaging failed:2
    Info: Package created: C:/BB10/WorkSpace/ParkInGhent-master/x86/o-g/ParkingsGent.bar
    [ERROR] MANIFEST.MF: Invalid value'use your own ID' for attribute 'Package-Author-Id'.

 

     But build project time does not give any error message.

 

    Thanks & Regards

              Sanjit

Developer
Posts: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Re: Atom/feet Parsing

Like the error message says. Go into the manifest file and you will see a field  'Package-author-id'. The value of this one is 'use your own id'. Just remove that one and leave it empty. Rebuild the application and rerun it.

______________________________________________________
BB10-OAuth: GitHub
Developer
Posts: 148
Registered: ‎01-08-2013
My Device: 9860
My Carrier: Airtel

Re: Atom/feet Parsing

Hello Curahee

    Thank you.

Developer
Posts: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Re: Atom/feet Parsing

Thank zezke for his nice example :smileywink:

______________________________________________________
BB10-OAuth: GitHub
Retired
Posts: 54
Registered: ‎06-26-2012
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Atom/feet Parsing

[ Edited ]

Please check also the rrsnews sample app in Cascades github repository.