Thursday, March 15, 2012

Re: [android-developers] Wich is the easiest approach to get & interpret a XML file response from a PHP script?

On Thu, Mar 15, 2012 at 4:06 AM, saex <elpablosaez@gmail.com> wrote:
Wich is the easiest approach to connect to that PHP and get the XML
and interpret it storing the info on the List of MagazinePreview class
objects?
  1. Connect to your script (HTTP connection)
  2. Parse XML (XML parser, there are at least two options in Android)
  3. Create your objects from parsed XML data.
  4. Store in an ArrayList of your object type.
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

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

No comments:

Post a Comment