I'm trying to retrieve information from a XML file located in raw resources which structure is this:
<?xml version="1.0" encoding="utf-8" ?> <languages> <language code="ab">Abkhazian</language> <language code="aa">Afar</language> <language code="af">Afrikaans</language> <language code="sq">Albanian</language> ... What I've got to do is fill a List with the values of the languages, like 'Abkhazian','Afar',... I tried using XMLPullParser, but I don't know how to retrieve the name of the language, since it's not a field. Any help will be appreciated.