FAQ Database Discussion Community

Getting started with XMLPullParser

I am trying to use XMLPullParser but I cannot find any useful tutorials. Based off of the instructions on http://xmlpull.org/ I need to download an implementation of XMLPullParser as a jar file and then add it to my class path. However I cannot find any link to any jar file...

XMLPullParser: FileNotFoundException when trying to open a stream

I would like to parse a XML file using a XMLPullParser. The code is: XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); factory.setValidating(false); XmlPullParser myxml = factory.newPullParser(); InputStream raw = getApplicationContext().getAssets().open("etat_cree.xml"); myxml.setInput(raw, null); The file "etat_cree.xml" is a basic XML file I only created to test my code. The problem I have is that...

XMLPullParser black diamond question marks with certain characters

I'm making an android app, that needs to fetch and parse XML. The class for that was made following the instructions from here http://www.tutorialspoint.com/android/android_rss_reader.htm and the fetcher method looks like this: public void fetchXML() { Thread thread = new Thread(new Runnable() { @Override public void run() { try { URL...