How can I parse a xml file in Blackberry? Can I have a link or sample code or tutorial?
相关问题
- Using a String as code with Groovy XML Parser
- Xml - Find Element By tag using Python [duplicate]
- Hide Node in Treeview List. in C#
- Assign CSS class to HTML tags generated with SQL &
- Eclipse Blackberry Preprocessor Not Working?
相关文章
- Access nested children in xml file parsed with Ele
- Android REST XML result to Listview
- Read inside a Specific Tag using XPath with multip
- Resume parser in Java [closed]
- Get many webpages updation alerts. Systematic auto
- Parsing large and complicated XML file to data.fra
- XQuery nested return flower
- C++ Parse Binary plist
I've used SAX to process XML responses from a web api and it worked well for me. Check out: http://developerlife.com/tutorials/?p=28
What exactly are you trying to accomplish with XML?
You should have a interface to implement the listener in order to notify your UI thread once parsing is over.
implement your class with MediaFeedListner and then override the mediaItemParsed(Vector mObject) and exception(java.io.IOException ioe) methoods.
mediaItemParsed() method will have the logic for notifying the UI thread and perform required operations.
Here is the XML parser code.
Its done.