Home » Android » core » xml


XML Binding with Simple Framework

In this tutorial we are going to see how can we Simple Framewrok for XML Binding in Android. The basic steps to create a Customized dialog are: Create or download the XML formated file you want to bind it to Android. Create the appropriate classes to map appropriately the XML elements and its corresponding attributes Use the appropriate annotations, e.g. ...

Read More »

XML parsing with XML Pull

With this tutorial we are going to show you how to perform XML parsing using XML Pull in Android. There are two popular methods in XML parsing: SAX and DOM. But a new method that gains more and more attention is the “pull parsing” method. The Android SDK includes support for XML Pull parsing via the XML Pull package The ...

Read More »

Parsing XML with SAX

In this tutorial we are going to see how can we parse an XML file using the SAX parsing method. The SAX specification reads through the XML Document and uses events and callback handlers to perform the parsing. It’s a bit more challenging than other methods, DOM for example, but it’s flexible and much more memory efficient. The basic steps ...

Read More »