Ooops, just realised I misread your post, you retrieve file from server so
obviously XmlResourceParser isn't going to work for you... The principle is
the same though, you need a XmlParser. Look at the doc to see if there's one
that can take an input from any file and not just a resource file.

On 13 August 2010 09:03, Natalie Hooper <[email protected]>wrote:

> I've done something similar in my app, I have created a separate class
> called "XmlFileParser", in which I use a XmlResourceParser object to carry
> out the parsing.
>
>
> On 11 August 2010 11:34, Neilz <[email protected]> wrote:
>
>> In my new project I connect to a server and retreive an xml file. I
>> want to populate Java objects with this data.
>>
>> Now, obviously, searching the net for this brings up a number of
>> common solutions. But I have noted that some (e.g. Castor) look like
>> they won't be suitable for Android (as it's missing certain required
>> libraries) and some are actually over complex. For example, I'm not
>> worried about dynamic object creation using annotations... I'll create
>> the classes myself.
>>
>> What technology would be recommended to deal with this scenario?
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Google Android, programming and web design at http://www.cogitas.net/blog/
>



-- 
Google Android, programming and web design at http://www.cogitas.net/blog/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to