title: How to retrieve external XML files into android application
body: <p>In my Android application, I want to retrieve an XML file from the internet and parse some tags in that file to my application. I got a working tutorial <a href="http://www.anddev.org/using_xmlresourceparser_to_parse_custom_compiled_xml-t9313.html" rel="nofollow">here</a> which uses XMLResourceParser but that tutorial points out how to read an XML file from a local directory. </p>
  
  <p>What are the method calls to retrieve an external XML file into my Android application?</p>
  
  <pre><code>XmlResourceParser xrp = this.getResources().getXml(R.xml.test);
  </code></pre>