Tag: XML Parsing

Building a Mobile Employee Directory – Step 2: Load data into the ListActivity from an XML file via XmlParser

Building a Mobile Employee Directory – Step 2: Load data into the ListActivity from an XML file via XmlParser

| February 26, 2013 | 1 Comment

Parsing XML data with XmlPullParser into an Android ListView. After reviewing the SAX (Simple API for XML) Parser, the DOM (Document Object Model) Parser and the XmlPullParser.  I’ve decided to use the XmlPullParser because it is supposed to be the fastest.  I have not tried the JDOM Parser. employee_list.xml  (in res/xml) <?xml version="1.0" encoding="utf-8"?> <employees> <employee> [...]

Continue Reading