Open main menu

CDOT Wiki β

Changes

MAP524/DPS924 Lecture 7

499 bytes added, 13:20, 19 July 2015
Parsing XML
= Parsing XML =
 
More and more services are offering their data in Json format, but XML is still a very popular choice because there's been so much software written with it for almost 20 years. We'll only look at reading XML because creating it is unlikely to be necessary in an Android app.
 
The [http://www.vogella.com/tutorials/AndroidXML/article.html Vogella tutorial] for XmlPullParser is much easier to read than the [http://developer.android.com/training/basics/network-ops/xml.html official documentation].
= Reading and Writing JSON =