1. Download our Official Android App: Forums for Android!

Apps parsing an XML file in android

Discussion in 'Android Development' started by sabrineisimm, Aug 24, 2011.

  1. sabrineisimm

    sabrineisimm Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Aug 23, 2011

    Aug 23, 2011
    5
    0
    5
    hello all

    I am trying to understand a tutorial which focuses on parsing an XML file in android.
    But I can not understand the class "ParserXMLHandler" and the function "getView" in class ListeFeedAdapter.

    Here is the link of the site where I found the tutorial:
    http://thibault-koprowski.fr/2010/10/15/tutoriel-parsing-xml-sous-android/ # comment-155

    it is a good tutorial ;)
    Have fun and please try to give me more clarifications about them
    thank you in advance :eek:
     

    Advertisement

  2. alostpacket

    alostpacket Over Macho Grande?
    Rank:
    None
    Points:
    513
    Posts:
    7,972
    Joined:
    Nov 29, 2009

    Nov 29, 2009
    7,972
    3,603
    513
    Android App Developer
    NY
    I dont read or speak French but it sounds like you are trying to tackle two problems at once.


    Understanding ListViews and ListAdapters is an important task that is more than enough to fill a tutorial.


    Similarly, understanding XML parsing is another complex task that coul make for it's own tutorial. Using the SAXParser is especially complicated.

    I would suggest you try and find a different tutorial for Listviews (and List Adapters) first, then see about XML later. Possibly considering the DOM parser instead of the SAXParser.


    Hope that helps.
     

Share This Page

Loading...