JSON Parsing – Android

Android
The last post XML Parsing using SAXParser was about parsing a web service providing XML. In this post we are going to parse JSON available at http://www.pcsalt.com/postservice/?format=json. The JSON available at the link may seem messy, for the formatted view of JSON JSONLint. In order to parse JSON, at first we should examine the JSON and determine what is it we need to parse. (more…)
Read More

XML Parsing using SAXParser – Android

Android
Webservices are one of the effective way of transferring information from server to mobile apps. The webservices may use XML or JSON formats for the purpose. This tutorial is about parsing information available at http://www.pcsalt.com/postservice/?format=xml. And, the end result will be an Android app having a list of posts on Android, and clicking on the list item will open the linked page. Following XML is an abstract from above URL. First we determine what tags are there in XML and then we would parse to extract and display this information. (more…)
Read More