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 here which uses XMLResourceParser but that tutorial points out how to read an XML file from a local directory.
What are the method calls to retrieve an external XML file into my Android application?
XmlResourceParser xrp = this.getResources().getXml(R.xml.test);
You can get an InputStream to the XML file using the following code: