Normally, there are three type parser in android. Xmlpullparser, DOM & SAX. Google recomand Xmlpullparser to doing this. But to parser xml files or inputstream, it based on xml content. So using an general way to parser xml. BaseXmlObj: /************…